08-01-2012
Thank you very much for your answers. On the end I used dummy ; and it works good
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does anyone know how to get these two output lines into one colon ':' separated line with some unix command? Maybe nawk. I've tried to read the nawk and awk man pages but I don't get it right. Are these commands the one to use?
Output from find command:
#
/sw/tools/matlab/7.0.1/man... (2 Replies)
Discussion started by: tonlu
2 Replies
2. Shell Programming and Scripting
The log reads as follows.
fname1;lname1;eid1;addr;pincode1;
fname2;lname2;eid2;addr2;pincode2;
fname3;lname3;eid3;addr3;pincode3;
fname4;lname4;eid;addr4;pincode4;
how do i extract only fname and save it in an array
similarly for lname and so on
i tried reading a file and cutting each... (5 Replies)
Discussion started by: vkca
5 Replies
3. Shell Programming and Scripting
char str; char str ;
char *ptr; char * ptr;
int CASE; int CASE;
double temp; double temp;
Output should be:
char str;
char *ptr;
int CASE;
double temp;
How can i do this with awk,sed,perl? (5 Replies)
Discussion started by: cola
5 Replies
4. Shell Programming and Scripting
Hi All,
I need to grep through a file for a string and print the next ten lines to a file separating the lines with a , and save it as a csv file to open it as a XL file. The 10 lines should be on a sigle row in xl.
Any suggesstions please.
Note; I dont have a GNU Grep to use -A flag.
... (6 Replies)
Discussion started by: Nani369
6 Replies
5. Shell Programming and Scripting
Dear experts
I have files like
ABD : 5869 events, relative ratio : 1.173800E-01 , sum of ratios : 1.173800E-01
VBD : 12147 events, relative ratio : 2.429400E-01 , sum of ratios : 3.603200E-01
SDF : 17000 events, relative ratio : 3.400000E-01 , sum of ratios : 7.003200E-01
OIP: 14984... (9 Replies)
Discussion started by: Alkass
9 Replies
6. Shell Programming and Scripting
Given the pattern below:
3113296571|NULL|NULL|NULL||N| 1| 0| 926667| 1001036| 0| 3076120438|NULL|NULL|NULL|NULL|DUE FOR NEW CONSENT!|N|NULL|
10198318|2011-07-25-12.34.02.786000|NULL|NULL|NULL| 0
3113336478|NULL|NULL|NULL||N| 1| ... (16 Replies)
Discussion started by: lemele
16 Replies
7. Shell Programming and Scripting
Hi all,
I have a .vcf file which contains 8 coulmns and the data under each column as shown below,
CHROM POS ID REF ALT QUAL FILTER INFO
1 3000012 . A G 126 ... (6 Replies)
Discussion started by: mehar
6 Replies
8. Shell Programming and Scripting
hi I am on AIX 5 and i have a script that runs the following command to list processes running. I then want to kill the returned processes. The PID are on field 2 separated by spaces.
$ ps -ef|grep "rams.e $PORT"
lesqa 1826998 2646248 0 11:20:35 pts/2 0:00 grep rams.e
t24cm 2789380 ... (3 Replies)
Discussion started by: dustytina
3 Replies
9. UNIX for Dummies Questions & Answers
I have this:
((9:0.010,(11:0.089,13:0.004))
and I would like this:
((A9,(A11,A13))
How do I delete the semi colon and the number (i.e. 0.010) after the semi colon? Also, how can I add the letter before the number that is NOT removed?
Thank you in advance!
---------- Post updated... (4 Replies)
Discussion started by: MDeBiasse
4 Replies
10. Shell Programming and Scripting
Hello Team,
Could you please help me with the below question?
I have a file with the following properties
1) File Delimiter is ;
2) Text columns are within double quotes
3) Numeric columns will not have double quotes
4) File has total 6 columns
Please see a sample record from file
... (3 Replies)
Discussion started by: sam99
3 Replies
LEARN ABOUT MOJAVE
ssh-keychain
SSH-KEYCHAIN(8) BSD System Manager's Manual SSH-KEYCHAIN(8)
NAME
ssh-keychain.dylib -- smartcard/keychain support library
DESCRIPTION
The ssh-keychain.dylib library is used as a PKCS11 module replacement for the family of ssh tools. It provides certificates on SmartCards
and/or in user keychains to the tools.
OVERVIEW
By default, all valid certificates from all SmartCards currently inserted into attached readers are provided. Manual configuration of
ssh-keychain.dylib is required if certificates in user keychains are desired, or if there is a need to limit which SmartCard certificates are
provided. The public key hash is used to select which certificates should be provided. This hash is usually in hexadecimal string form,
without the leading 0x. To determine the hash for certificate on a SmartCard, the sc_auth hash or sc_auth identities commands can be used.
For certificates in user keychains, it is the value of the hpky attribute from security find-certificate output.
ENVIRONMENT
Configuration passed through the environment always takes precedence over the configuration file. The variable KEYCHAIN_CERTIFICATES is used
to specify hashes. It should contain a semicolon-separated list of public key hashes of certificates which will be provided to the ssh tools.
CONFIG FILE
If no enviroment variable configuration is provided, ssh-keychain.dylib looks for a configuration file located at ~/.ssh/sshkeychain.plist.
This file is a standard property-list with a dictionary root object. It should contain the key KeychainCertificates with a value that is
either a string or an array of strings. If a string, then the expected value is semicolon-separated list of public key hashes like the envi-
ronment variable. If the value is an array, then each hash is an array entry.
EXAMPLES
Environment:
KEYCHAIN_CERTIFICATES="AE31125DA4AAA294A4FED97B815D7F8DD1A78FF3;168D2C4CDDFCDADD465BAF3E6BCFE8193D8D42D1"
ssh -o PKCS11Provider=/usr/lib/ssh-keychain.dylib machine
Configuration plist:
{
"KeychainCertificates" => [
0 => "AE31125DA4AAA294A4FED97B815D7F8DD1A78FF3"
1 => "168D2C4CDDFCDADD465BAF3E6BCFE8193D8D42D1"
]
}
FILES
~/.ssh/sshkeychain.plist
SEE ALSO
sc_auth(8), ssh-add(1), ssh_config(5)
Darwin June 1, 2019 Darwin