| | |
how to remove junk character
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
0
#2 Nov 4th, 2009
Do kindly explain exactly what you need. Junk character means nothing.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
0
#4 Nov 4th, 2009
That "^M" is a unix line end, use the dos2unix command first. For the rest use sed.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- How to Remove character (Visual Basic 4 / 5 / 6)
- Remove newline character (C++)
- How to Remove Newline character from a VB String (Visual Basic 4 / 5 / 6)
- Use Java to remove a block of html from a number of files? (Java)
- Something wrong with my code, why Junk character appears? (C)
Other Threads in the Shell Scripting Forum
- Previous Thread: Uix Script Help Need
- Next Thread: connect to oracle retrieve data and work around the data through shell script
Views: 686 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Shell Scripting






