10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I m looking for help here!!!
Can we filter the below log data into CSV format ?
timestamp INFO <text > - Some text Drive ..
Need a format of separate field such as
1 2 3 4 ... (2 Replies)
Discussion started by: MohSalNiz
2. Shell Programming and Scripting
Seeking for your assistance on how to ouput the file which is not match in file 1 and file 2 using awk. I tried NR=FNR but it's not working, it will only show the match record.
abc (2 Replies)
Discussion started by: znesotomayor
3. Shell Programming and Scripting
i am trying to get the system model with the help of awk :
$ prtconf | awk '/^System Model/'
System Model: IBM,8408-E8D
but i want just the below outout that is command should chk for pattern <IBM,> and remove it from the final output :
Can... (2 Replies)
Discussion started by: omkar.jadhav
4. Shell Programming and Scripting
Hi, all, I have files like:
nameserver 184.108.40.206 ; tserv1.ash1.ipv6.he.net. tserv13.ash1.ipv6.he.net.
nameserver 220.127.116.11 ; tserv1.tor1.ipv6.he.net. tserv21.tor1.ipv6.he.net.
nameserver 18.104.22.168 ;... (3 Replies)
Discussion started by: esolvepolito
5. Shell Programming and Scripting
I have this input file
Switch 0; Sun Sep 11 12:40:53 2011 EDT (GMT+4:00)
12:40:53.159984 SCN Port Offline;g=0x1e4b6 A2,P0 A2,P0 379 NA
12:40:53.159991 *Removing all nodes from port A2,P0 A2,P0 379 NA
18:45:31.326604 Port Elp engaged ... (1 Reply)
Discussion started by: greycells
6. Shell Programming and Scripting
Hi all ,
I have a view in teradata , the ouput of that view have to be stored as a file with delimitere as '|'.Is there any possibility of doing this in unix ?
Thanks in advance ,
Vinoth (6 Replies)
Discussion started by: vino.paal
7. Shell Programming and Scripting
I'm testing a program that prints error message to the screen.
I want to redirect the output to a file using >. but the message only prints on screen and not writing to the file,
Any suggestion on what I might try? (3 Replies)
Discussion started by: minifish
8. Windows & DOS: Issues & Discussions
I used printf to print the following under SFU,
printf “\n\n%5sM = $lrs Ohms%5sX = $hrs Ohms%5sT = $tp %%\n\n\n” > file
With the above script, I used %% after $tp only as a percentage sign and I get only the following output:
% T =... (5 Replies)
Discussion started by: ilak1008
9. Shell Programming and Scripting
I have a list of data below.
As long as there are same character in the 1st column (eg xxx ), i would want to add all the numbers in the 3rd column and display as the output below so the total would be 10+20+30 = 60. Can anybody help to do this using nawk? Using solaris by the way. ... (12 Replies)
Discussion started by: Raynon
10. Shell Programming and Scripting
my perl script is calling another external java program. The Java in turn prints out a string. how can I capture the string.
$query = new CGI;
$theCookie = $query->cookie('someCookie');
$user =... (0 Replies)
Discussion started by: azmathshaikh