10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I want to replace the retail col from FileI with cstp1 col from FileP if the strpno matches in both files
... (2 Replies)
Discussion started by: YogeshG
2. Shell Programming and Scripting
I have a file which contains the data lines like below.I want to remove the tab spaces at the end of each line.I have tried with the command sed 's/\+$//' file.but it does not work.Can anyone help me on this?
15022 15022 15022 15022 15022 15022
15023 15023 15023 15023 15023 ... (16 Replies)
Discussion started by: am24
3. UNIX for Dummies Questions & Answers
Hi, I have a rquirement in unix as below .
I have a text file with me seperated by | symbol and i need to generate a excel file through unix commands/script so that each value will go to each column.
Input Text file:
excel file to be generated as output as... (9 Replies)
Discussion started by: raja kakitapall
4. Shell Programming and Scripting
Hi How to make tab delimited file to space delimited?
in put file:
Use code tags, thanks. (1 Reply)
Discussion started by: jagdishrout
5. Shell Programming and Scripting
I have a file which was pipe delimited, I need to make it tab delimited. I tried with sed but no use
cat file | sed 's/|//t/g'
The above command substituted "/t" not tab in the place of pipe.
have to convert to:
abc 123... (6 Replies)
Discussion started by: karumudi7
6. UNIX for Dummies Questions & Answers
I have a tab delimited file that opens well in Openoffice calc (excel). But when I perform any operation in command line, it reads the file incorrectly. When I 'save As' the same file in office as tab delimited then it works fine.
The file that I think is tab delimited is actually... (8 Replies)
Discussion started by: imlearning
7. UNIX for Dummies Questions & Answers
How do you remove trailing empty lines at the end of a text file? Thanks! (3 Replies)
Discussion started by: evelibertine
8. UNIX for Dummies Questions & Answers
I have a txt file with 4 columns where I need to add 4 empty columns in the middle meaning that I need what is currently column 4 to be column 8 in a new file.
The idea is that I have to use the file as input in a program that reads the data in column 1 and 8, so the content of the other... (8 Replies)
Discussion started by: Banni
9. Shell Programming and Scripting
I am very new to perl and need to make a script using perl.
I would like to remove blanks in a text tab delimited file in in a specfic column range ( colum 21 to column 43) sample input and output shown below :
117 102 650 652 654 656
117 93 95... (3 Replies)
Discussion started by: Faisal Riaz
10. Shell Programming and Scripting
Can anyone let me know on how to convert a Tab delimited file to Comma delimited file in Unix
Thanks!! (22 Replies)
Discussion started by: charan81