9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
In the awk below I am trying to cp and paste each matching line in f2 to $3 in f1 if $2 of f1 is in the line in f2 somewhere. There will always be a match (usually more then 1) and my actual data is much larger (several hundreds of lines) in both f1 and f2. When the line in f2 is pasted to $3 in... (4 Replies)
Discussion started by: cmccabe
2. Shell Programming and Scripting
I have a log file say Test.log that gets updated continuously and it has data in pipe separated format. A sample log file would look like:
What I... (3 Replies)
Discussion started by: pat_pramod
3. Shell Programming and Scripting
I have got the below requirement. please suggest.
I have a file like,
Processing Item is:
Processing Item is:
I want to process the above file to get the output file like,
... (5 Replies)
Discussion started by: rbalaj16
4. Shell Programming and Scripting
I need to take one column of data and put it into the following format:
1st line,2nd line
3rd line,4th line
5th line,6th line
Thanks! (6 Replies)
Discussion started by: batcho
5. UNIX for Dummies Questions & Answers
I need to replace the record count which is in the last line of the text file to a new record count.
The file is a fixed length file, and whole file is list of numbers and the last line looks like this.
9#EOF# 00000000000000000016 ... (9 Replies)
Discussion started by: shinny
6. Shell Programming and Scripting
i need one help don't know whether it is simple or difficult but not able to solve it.
here is the problem
suppose my code is
echo "time left is $time_def "
and the output is
time left is 3
time left... (6 Replies)
Discussion started by: aishsimplesweet
7. Shell Programming and Scripting
i want to search particular string and want to replance next line value.
following is the test file.
search string is
,10:1 "???" may contain any 3 character it should remain the same and next line replace with ,10:50
tmp,123 --- if match tmp,??? then... (3 Replies)
Discussion started by: arvindng
8. UNIX for Dummies Questions & Answers
Hii to all..
I have a file stud.lst
bash-3.1$ cat stud.lst
NO NMAE DOB 10 +2 BE AVG
075 syam saksena 12/12/55 500 398 550 48.26
099 sachin 11/05/47 450 500 600 51.66
300 mohan kumar 19/04/43 500 600 700 60.00
100 john 12/12/52 800 750 700 75.00
125... (2 Replies)
Discussion started by: krishnampkkm
9. Shell Programming and Scripting
I want to get the line count of the file from the 2nd line of the file ? The first line is header so want to skip that.
Thanks. (8 Replies)
Discussion started by: smc3