10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I need your help, please...
I have this file *.txt
0000 | 16010201 22000000 67892000 00000000 00000000 00000100 72246681 28E08236
| ~~~~"~~~g~ ~~~~~~~~~~~~~r$f~(~~6 |
0020 | 10476173 90010100 10000000 00000001 05000226 17163011 12442212 48140484
|... (2 Replies)
Discussion started by: solaris21
2. Shell Programming and Scripting
I have a file which comes every day and the file data look's as below.
Some times we receive the file with only a new line character in the file like
\n (8 Replies)
Discussion started by: rak Kundra
3. Shell Programming and Scripting
I have a text file which looks like below:
I need to remove only the last (blank space) from the file. When I try wc -l the file name,the number of lines coming is 3 only, however blank space is there in the file.
I have tried options like... (14 Replies)
Discussion started by: Sathya83aa
4. Shell Programming and Scripting
How can i remove the first and last character of strings like below:
Means i wanna remove the quotes("").
Please help (17 Replies)
Discussion started by: proactiveaditya
5. Shell Programming and Scripting
I have different type of file (.txt,.csv,.xml) format in my current directory. My requirement is that I need to remove the last character from the file format.
How to do that?.... (5 Replies)
Discussion started by: suresh01_apk
6. Shell Programming and Scripting
Please help me to remove the first 2 character from the file name.
files are like this
I want to remove the first 2 char which are numbers.
I want the o/p like thus
rana se (8 Replies)
Discussion started by: atul9806
I have data coming in 4 columns and there are new line characters \n in between the data. I need to remove the new line characters in the middle of the row and keep the \n character at the end of the line.
File is comma (,) seperated.
37,Airtel \n... (8 Replies)
Discussion started by: sasikari
8. Shell Programming and Scripting
I'd like to ask for some help with the following:
I've cut a couple of columns of file1 to create file2 with the following code:
cur -f 1,3,8 file1 > file2
Then I need to transfer file 2 from UNIX to Windows and use it further.
Unfortunatelly, for some reason the line is displayed... (4 Replies)
Discussion started by: zajtat
9. UNIX for Advanced & Expert Users
I am facing one interesting problem :
I have a file which contains data like this
459,|1998-11-047|a |b |c \n efg | d|e | \n
459,|1998-11-047|a \n c|b |c \n efg | d|e | \n
Basically what I have to do is , I have to remove all \n which is coming ( enclosed ) in between... (7 Replies)
Discussion started by: shihabvk
10. Shell Programming and Scripting
I have a few terms with a comma as the last character.
Can any experts show me how to remove the last character?
Note the the length of the term is not fix.
1 (6 Replies)
Discussion started by: Raynon