9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
Please help with the following example.
I want to keep all people in the data, who at least have Firstname or Lastname or both and at least 1 row of Details. So, Person4 lacking both Firstname and Lastname will be deleted, Person5 with no Details will be deleted.
Firstname,Lastname... (3 Replies)
Discussion started by: ritakadm
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
:wall:
I have a 12 column csv file. I wish to delete the entire line if column 7 = hello and column 12 = goodbye. I have tried everything that I can find in all of my ref books.
I know this does not work
/^*,*,*,*,*,*,"hello",*,*,*,*,"goodbye"/d
Any ideas?
Thanks
Please... (2 Replies)
Discussion started by: Chris Eagleson
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
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 Replies
4. Shell Programming and Scripting
Hi I have a file with following records
It contains three months of data, some data is duplicated,i need to access the latest data from the duplicate ones.
for e.g; i have foll data
"200","0","","11722","-63","","","","11722","JUL","09"
"200","0","","11722","-63","","","","11722","JUL","09"... (10 Replies)
Discussion started by: vee_789
10 Replies
5. Shell Programming and Scripting
Dear All,
I have a master file - Master.txt
100|ABC
200|CED
500|XYZ
800|POL
I have a reference file - Ref.txt
200
800
What is desired..
Check for all those records in reference file matching with those within master file and then delete those records from Master file
So, at end,... (1 Reply)
Discussion started by: sureshg_sampat
1 Replies
6. Shell Programming and Scripting
Hi Guyz,
Can anyone help me in the following:-
I want to delete all that is there in my file that occures before the first space comes.
Eg. My file InputFile conatins the following:
123 12345678 87654 Hello
09867 09876654 34567 Happy
I want the data occuring before the occurence... (3 Replies)
Discussion started by: DTechBuddy
3 Replies
7. Shell Programming and Scripting
Hi,
I try to write script to compare 2 data file (list of numbers) which after that I want to delete unmatched numbers and create new file for matched numbers.
Can anybody to help me? (5 Replies)
Discussion started by: nazri76
5 Replies
8. Programming
Hi,
I'm new baby in linux and i need your help to make a script.
i have a file like this:
nameuser Password="password-user"
Data-profile=tipe-profile, IP-Address=ip-data, country=country_user, old-user=old_user
Scripts I need that allow search, edit, and delete data from you file.
... (1 Reply)
Discussion started by: dorek
1 Replies
9. Shell Programming and Scripting
Hi,
I tried this but could not get it...
here is what I need I have an xml where I get all the data in blocks but some times I get empty blocks with no data...shown below..I need to delete only those blocks with no data, I tried couple of ways but could not do it..any help is appreciated...... (1 Reply)
Discussion started by: mgirinath
1 Replies