10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have two files of the following form. I would like to remove from File.A where the first three colum matches values in File.B to give the output in File.C
121 54321 PQR CAT
122 765431 ABC DOG
124 98765 ZXY TIGER
125 86432 GEF LION
122 765431 ABC
125 86432 GEF... (4 Replies)
Discussion started by: Gussifinknottle
2. Shell Programming and Scripting
Sorry for the weird title but i have the following problem.
We have several files which have between 10000 and about 500000 lines in them. From these files we want to remove lines which contain a pattern which is located in another file (around 20000 lines, all EAN codes). We also want to get... (28 Replies)
Discussion started by: SDohmen
3. Shell Programming and Scripting
I start with a file named biglist.txt.
I have another file smallerlist. txt
I want to remove the lines from smallerlist.txt from biglist.txt and leave those lines that do not reside in smallerlist.txt.
Thanks !! (2 Replies)
Discussion started by: popeye
4. Shell Programming and Scripting
Hello Unix board community,
I have to program a shell script, but I am a complete noob so I hope I get some help here. The assignment is as follows:
The program removes all comments regardless of formatting or language from files with specific file name extensions (php, css, js, ...).... (3 Replies)
Discussion started by: TheZeusMan
5. Shell Programming and Scripting
my requirement is that i want pull the bad records from input file and move those records in to a seperate file.
that file has to be sent via email..
any suggentions please (1 Reply)
Discussion started by: sxk4999
6. Shell Programming and Scripting
I have a text file which has blank lines. I want them to be removed before upload it to DB using SQL *Loader. Below is the command line, i use to remove blank lines.
sed '/^ *$/d' /loc/test.txt
If i use the below command to replace the file after removing the blank lines, it replace the... (6 Replies)
Discussion started by: vel4ever
7. Shell Programming and Scripting
I have two files with below data::
The records present in file1, not present in file 2 should be writtent to the out put file.
Is there any one line... (3 Replies)
Discussion started by: gani_85
8. Shell Programming and Scripting
I have a doubt, I am not sure whether it is possible ah nu.
I am having a file(sample.txt) which contain 5 lines.
I want to remove 1st line in the file and save the file with same old name (sample.txt).
For removing 1st line i am using
sed 1d filename
But dono how to... (3 Replies)
Discussion started by: natraj005
9. UNIX for Dummies Questions & Answers
Hello every body,
Kindly support me to "copy a file without remove the contents of the target file"
Thanks in advance. :)
Cairo,Egypt (2 Replies)
Discussion started by: ahmedamer12
10. Shell Programming and Scripting
I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file.
For eg.If input file name is abcd.csv and contents is :
Then the batch file should remove "" from the... (11 Replies)
Discussion started by: akashtcs