10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to catch a two word keyword which may contain a new line(may include spaces or tab) in it.
for example there is a file a.txt.
select only no (((
end (12 Replies)
Discussion started by: neelmani
2. Shell Programming and Scripting
I have the next problem, i am triying to concatenate two variables with white spaces at the cornes, but the shell deletes them.
For example i have the next code:
output: Hello Hello
You can see only one space between the words, and i put 5... (5 Replies)
Discussion started by: Xedrox
3. Shell Programming and Scripting
I have a script that "validates" a ZIP file that look like this
AAA_20120801.ctlMy task is to compare its contents (i.e the list of files contained inside) with the control file that is... (2 Replies)
Discussion started by: alan
4. Shell Programming and Scripting
I have to search a word in a text file and then I have to delete lines above from the word searched . For eg suppose the file is like this:
abc:324234 (2 Replies)
Discussion started by: vsachan
What last line mode command allows me to remove extra spaces in between words in a text? (1 Reply)
Discussion started by: rabeel
6. Shell Programming and Scripting
If anybody could help me with my scenario here. I have a statement file. Example of some content:
DATE DESC Debit Credit Total Rate
02-Jan-08 Lodgement 200.00 1200.00 2.51
14-Sep-07 Withdrawal 50.00 1000.00 ... (8 Replies)
Discussion started by: yonez
7. UNIX for Dummies Questions & Answers
I have a file that has multiple spaces between characters. I want to delete or convert the multiple spaces into a single space. I think this can be done in "sed" but I only know the syntax to delete trailing or leading spaces. Can this be done with "sed" or awk?
I have a file that looks... (6 Replies)
Discussion started by: eja
8. UNIX for Dummies Questions & Answers
I have a 2 GB flat file which have unicode field, some of them are blanks and its size is 4000 character. In the existing system SED command removes the spaces. Because of this field itself....it is taking almost three days to complete the file processing. I removed sed and... (0 Replies)
Discussion started by: RcR
9. Shell Programming and Scripting
I am new to unix and need some assistance.
I have a file in the format below with about 15 fields per each record. I have 2 records displayed below.
"1234","Andy ","Rich ","0001","123 Main Street ","Dallas "
"2345","Andrew ","Richter ","0002","234 First Ave ... (12 Replies)
Discussion started by: guiguy
10. Shell Programming and Scripting
i have the next question:
i have a flat file with a lot of records (lines). Each record has 10 fields, which are separated by pipe (|). My problem is what sometimes, in the first record, there are white spaces (no values, nothing) in the beginning of the record, like this:
ws ws... (2 Replies)
Discussion started by: DebianJ