![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. Shell Script Page. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| newline | Gale Gorman | Forum Support Area for Unregistered Users & Account Problems | 2 | 05-04-2008 09:23 AM |
| newline character | trichyselva | UNIX for Dummies Questions & Answers | 1 | 03-31-2008 02:34 AM |
| How to replace any char with newline char. | mightysam | Shell Programming and Scripting | 4 | 06-15-2006 04:46 AM |
| How can I replace newline character? | ghoti | UNIX for Dummies Questions & Answers | 1 | 08-16-2001 09:49 AM |
| How to replace newline "\n" | gsprince | UNIX for Dummies Questions & Answers | 5 | 06-09-2001 03:35 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
replace a newline (\n)
dear all:
maybe i have a file like : 12 34 56 78 end how do write can i replace newline into NA : make the file inte : 12 NA 34 NA 56 78 END I wrote a shell like: foreach a (fiel){ if a == "" set $a=NA } but can't work maybe someone can help me |
| Forum Sponsor | ||
|
|