Search Results

Search: Posts Made By: tsu3000
5,394
Posted By tsu3000
I'm happy to use awk, perl or python. Just...
I'm happy to use awk, perl or python. Just wondered if it was possible using sed?

Thanks.
5,394
Posted By tsu3000
Using sed to insert text between lines
Hello, I am trying to insert a section of text between lines in another text file.

The new lines to be inserted are:
abcd[0].efgh[N].zzzz=blah
abcd[0].efgh[N].xxxx=blah

Where N = 0 to 2
...
1,671
Posted By tsu3000
Deleting comments from fields
Hi

I have this sample data set as follows (called file.txt):
hostname1:user1:password
hostname2:user1:password #comments comments
hostname3:user1:passwordI wish to produce a report as...
23,140
Posted By tsu3000
Use of double square brackets in ksh
Hi

First apologies if this has been raised before.

I've got the following in a ksh script:

if [[ ! -f /etc/ssh/ssh_host_rsa_key -o ! -f /etc/ssh/ssh_host_dsa_key ]]

For some reason this...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 03:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy