8 More Discussions You Might Find Interesting
1. What is on Your Mind?
By special request, and long overdue, I have updated our "code tags" video and so now we have:
How to Use Code Tags and Format Posts @UNIX.com in 4K
https://youtu.be/4BuPvWJV__k (3 Replies)
Discussion started by: Neo
3 Replies
2. Programming
I hope c coding is ok here.
I am fairly new at c coding.
I simply want to embed some text in the executable.
I tried this but can't find the text using Ghex.
#include <stdio.h>
const char * S = "andrew";
int main()
{
printf("Hello World!\n");
return 0;
} (8 Replies)
Discussion started by: drew77
8 Replies
3. Shell Programming and Scripting
hi,
trying to embed an image to the html file to send out as an email.
img src="data:image/jpeg;base64,$(base64 /home/test/abc.jpg
but getting error as file not found after it aplies base64 on the file. (8 Replies)
Discussion started by: ATWC
8 Replies
4. UNIX for Advanced & Expert Users
Hello everyone,
I am trying to embed some tcl code inside a ksh93 script but I am not having any success.
I even tried the simplest of code, something like this:
.
.
jk=$(echo $(tcl << |
write_file junkme "test"'
|
))
just to see if a file gets written. When I run there are no errors, but ... (3 Replies)
Discussion started by: gio001
3 Replies
5. Shell Programming and Scripting
Hello;
When I try:
awk '/$(date "+%y\/%m\/%d")/,0'
It errors with:
awk: There is a regular expression error.
Invalid pattern.
Is there anyway to make this work ??
Thank you (2 Replies)
Discussion started by: delphys
2 Replies
6. Shell Programming and Scripting
Hey everyone,
I am just trying to figure out how to embed a function in an if statement.
I have the following test script so far:
PRIMARY=192.168.1.2
SECONDARY=192.168.1.1
function checkAlive {
ping -c 1 -q $1
}
if
then
echo "equaled 0"
fi
This... (1 Reply)
Discussion started by: msarro
1 Replies
7. UNIX for Dummies Questions & Answers
hello everyone,
i am not well-versed with unix programming, but could you help me on how to embed an image(maybe a bitmap) to the output file?
how about animations(avi, etc)? can this also be embeded to the output?
thanks (0 Replies)
Discussion started by: minut
0 Replies
8. Shell Programming and Scripting
I have written a code to extract comma seperated values from a file and assign them to a variable inside awk code.i want to use one of these variable to be used in wget function i.e to pass the siteurl.How i can implement the shell command wget inside the awk for loop.code snippet is shown below. ... (8 Replies)
Discussion started by: rajbal
8 Replies
productsign(1) BSD General Commands Manual productsign(1)
NAME
productsign -- Sign an OS X Installer product archive
SYNOPSIS
productsign [options] --sign identity input-product-path output-product-path
DESCRIPTION
productsign adds a digital signature to a product archive previously created with productbuild(1). Although you can add a digital signature
at the time you run productbuild(1), you may wish to add a signature later, once the product archive has been tested and is ready to deploy.
If you run productsign on a product archive that was previously signed, the existing signature will be replaced.
To sign a product archive, you will need to have a certificate and corresponding private key -- together called an ``identity'' -- in one of
your accessible keychains. To add a signature, specify the name of the identity using the --sign option. The identity's name is the same as
the ``Common Name'' of the certificate.
If you want to search for the identity in a specific keychain, specify the path to the keychain file using the --keychain option. Otherwise,
the default keychain search path is used.
productsign will embed the signing certificate in the product archive, as well as any intermediate certificates that are found in the key-
chain. If you need to embed additional certificates to form a chain of trust between the signing certificate and a trusted root certificate
on the system, use the --cert option to give the Common Name of the intermediate certificate. Multiple --cert options may be used to embed
multiple intermediate certificates.
The signature can optionally include a trusted timestamp. This is enabled by default when signing with a Developer ID identity, but it can be
enabled explicitly using the --timestamp option. A timestamp server must be contacted to embed a trusted timestamp. If you aren't connected
to the Internet, you can use --timestamp=none to disable timestamps, even for a Developer ID identity.
ARGUMENTS AND OPTIONS
--sign identity-name
The name of the identity to use for signing the product archive.
--keychain keychain-path
Specify a specific keychain to search for the signing identity.
--cert certificate-name
Specify an intermediate certificate to be embedded in the product archive.
--timestamp
Include a trusted timestamp with the signature.
--timestamp=none
Disable trusted timestamp, regardless of identity.
input-product-path
The product archive to be signed.
output-product-path
The path to which the signed product archive will be written. Must not be the same as input-product-path.
SEE ALSO
productbuild(1)
Mac OS September 15, 2010 Mac OS