10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Does anyone have any suggestions/examples of how i could show only lines where the first field is not duplicated. If the first field is listed more than once it shouldnt be shown even if the other columns make it unique.
Example file :
877,RIBDF,E28... (4 Replies)
Discussion started by: mutley2202
2. Shell Programming and Scripting
I have one script as below:
echo "Select hobby, class, subject, sports, rollNumber from Student_Table" >> InputFile1
echo "Select rollNumber... (3 Replies)
Discussion started by: Sharma331
3. Shell Programming and Scripting
I have updated the first post so that my intentions are easier to understand, and also attached sample files (post #18).
I have over 500 text files in a directory. Over 1 GB of data. The data in those files is organised in lines:
My intention is to return one line per... (23 Replies)
Discussion started by: clippertm
4. Shell Programming and Scripting
I have a simple text file having payment amount value on each line. At the end of day 'n' number of payments created difference in amount that I need to match from this file.
I have information about how many payments created difference and difference amount. Please help me to build shell... (3 Replies)
Discussion started by: swats007
5. UNIX for Dummies Questions & Answers
When I try with patern matching in a file with below code works
cat scj_drive_commands | egrep '/app/oracle/build_lib/pkg32|/app/oracle/build_lib/pkg33'
But when I have code with patern searching using of below does not work !
cat scj_drive_commands | egrep... (3 Replies)
Discussion started by: Siva SQL
6. Shell Programming and Scripting
I need some sort of way to extract every date contained in a file, and count how many of those dates there are.
Here are the specifics:
The date format I'm looking for is mm/dd/yyyy
I only need to look after line 45 in the file (that's where the data begins)
The columns of... (2 Replies)
Discussion started by: ronan1219
7. Shell Programming and Scripting
I have a files from where lines are like following
I would like to grep any number which will be as below (with carrige return): As 123456789 any number so I have to use the regular expression
<ns0:ccid>1234... (3 Replies)
Discussion started by: thepurple
8. UNIX and Linux Applications
A SystemOut.log file has recurring entries that follow this format:
Over the course of a day thousands of lines similar to this are produced, with each username represented hundreds of times.
I need to create a new file that shows... (4 Replies)
Discussion started by: 1075FJ40
9. Shell Programming and Scripting
I have a huge csv file with the following format of data,
Num SNPs, 549997
Num Samples, 157
SNP, SampleID, Allele1, Allele2
I would like to write out a list of unique SNP (column 1). Could you... (3 Replies)
Discussion started by: phoeberunner
10. UNIX for Dummies Questions & Answers
Need to find only unique values for a given tag across the files:
Test4: (8 Replies)
Discussion started by: sudheshnaiyer