10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a multiple pipe separated files which have records going over multiple Lines. End of line separator is \n and records going over multiple lines have <CR> as separator. below is example from one file.
4| GHIJKL|400|40... (7 Replies)
Discussion started by: dJHa
2. Shell Programming and Scripting
I have a bunch of lines with values in field 4 that I am interested in.
If these values are between 1 and 3 I want it to count all these values to all be counted together and then have the computer print out
LOW and the number of lines with those values in between 1 and 3,... (2 Replies)
Discussion started by: VagabondGold
3. Shell Programming and Scripting
Hey guys. I know pratically 0 about Linux, so could anyone please give me instructions on how to accomplish this ?
The distro is RedHat 4.1.2 and i need to find and replace a multiple lines string in several php files across subdirectories.
So lets say im at root/dir1/dir2/ , when i execute... (12 Replies)
Discussion started by: spfc_dmt
4. Shell Programming and Scripting
Hey Unix gurus,
I would like to count the number occurrences of all the words (regardless of case) across multiple files, preferably outputting them in descending order of occurrence. This is well beyond my paltry shell scripting ability.
Researching, I can find many scripts/commands that... (4 Replies)
Discussion started by: twjolson
5. Shell Programming and Scripting
In a directory, I have 5000 multiple files that contains around 4000 rows with 10 columns in each file containing a unique string 'AT' located at 4th column.
OM 3328 O BT 268 5.800 7.500 4.700 0.000 1.400
OM 3329 O BT 723 8.500 8.900... (7 Replies)
Discussion started by: asanjuan
6. Shell Programming and Scripting
I have 10 appservers and each appserver has 4 jvms . Each of these logs is archived and stored on a nfs directory . For example the files are
I want to... (3 Replies)
Discussion started by: gubbu
7. Shell Programming and Scripting
i have two file.
i want to count the lines of each file one by one in loop and compare it.
can any one pls help me on this? (1 Reply)
Discussion started by: Aditya.Gurgaon
8. Shell Programming and Scripting
i have to search a string and replace with multiple lines.
echo 'sample text'
echo 'college days'
echo 'sample text'
echo 'information on students'
echo 'emp number'
i have to search a word college and replace the multiple lines
i have... (1 Reply)
Discussion started by: unihp1
9. Shell Programming and Scripting
I have a couple of files I need to merge. I can do a simple merge by concatenating them into one larger file.
But then I need to filter the file to get a desired result.
The output looks like this:
ENDT 1116399 000000003... (2 Replies)
Discussion started by: Meert
10. UNIX for Dummies Questions & Answers
First of all thanks for all your help.
How can i count the lines within a text file and send this number to another text file?
And by the way how can i count the number of files inside a tape ("/dev/rtp") that as one pattern (Ex. "/CTA/") and send this number to a text file?
I... (6 Replies)
Discussion started by: jorge.ferreira