10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good day for us.
I want to ask what is the manner to count total of spesific character or string in 10 latest line. I mean from Latestline - 10 line until Latest line.
If the latest line of my file is 455th line, I just want to count total of spesific string from line 446th to 455th.... (5 Replies)
Discussion started by: weslyarfan
2. UNIX for Dummies Questions & Answers
i have data "23:2737757981:GatewayService-5-12-1.CWD2N.awn.com;1365594072;74383"
in my file
how to search "CWD2N" and get data output => "CWD2N.awn.com;1365594072;74383" (3 Replies)
Discussion started by: krai
3. UNIX for Dummies Questions & Answers
Please help me with my problem here:
I have a source file:
1212 23232 343434 ASAS1 4
3212 23232 343434 ASAS2 4
3234 23232 343434 QWQW1 4
1134 23232 343434 QWQW2 4
3212 23232 343434 QWQW3 4
and a mapping... (4 Replies)
Discussion started by: kokoro
4. Shell Programming and Scripting
Hi.. I'm into a bump after trying to solve this prob.. i've a file with contents like below.
'pgmId' : 'UNIX',
'pgmData' : 'textfile',
'author' : 'admin',
Now i'm trying to insert a new data after pgmId. so the final output will be... (7 Replies)
Discussion started by: arjun_arippa
5. Shell Programming and Scripting
I would like break in two line by 'SNAG'
SNAG|M1299063| | | | |0001.|0010.|AC64797|2008-02-18|093730.|YVR|AC64797|2008-02-18-09.37.30.250020|N|30|NO LEAKS OR CRACKS THIS A7 SCK SNAG|M1299063| | | |... (10 Replies)
Discussion started by: javeiregh
6. Shell Programming and Scripting
My file looks like this
But I need to move the frequency value (Freq) to the second position, leaving intact the numbers at the top. The resulting file should look like this
Thanks in advance! (3 Replies)
Discussion started by: Xterra
7. Shell Programming and Scripting
I have my data something like this
1947430693 07/01/2009 05:16:40
1947430746 07/01/2009 05:18:05
I want the output as follows.... (1 Reply)
Discussion started by: rdhanek
8. Shell Programming and Scripting
I am trying to write a script that will get some perticuler data from a file and redirect to a file.
My Question is,
I have a Very huge file,In that file I have my required data is started from 25th line and it will ends in 100th line.
I know the line numbers, I need to get all... (9 Replies)
Discussion started by: Anji
9. Shell Programming and Scripting
How can I compare data line by line from a file?
I need to compare the second value with the fourth to know if they are different.
If those values are different, I require to send my first value to the output until the complete file has been read.
This is my file:
0 FALSE... (1 Reply)
Discussion started by: loperam
10. Shell Programming and Scripting
I have one file aa.txt like this
Change 172453 on 2006/04/26 10:45:45 by cm@cm-ixca-cm-build23 'cmbuild: ixweb-184.108.40.206 '
Change 172362 on 2006/04/26 08:58:47 by cm@cm-ixca-cm-build23 'build failed: ixweb-220.127.116.11'
Change 172299 on 2006/04/26 07:39:08 by... (1 Reply)
Discussion started by: csaha