![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| newline character | trichyselva | UNIX for Dummies Questions & Answers | 9 | 10-31-2008 01:47 PM |
| How to replace any char with newline char. | mightysam | Shell Programming and Scripting | 5 | 09-18-2008 09:15 PM |
| newline | Gale Gorman | Forum Support Area for Unregistered Users & Account Problems | 2 | 05-04-2008 01:23 PM |
| How can I replace newline character? | ghoti | UNIX for Dummies Questions & Answers | 1 | 08-16-2001 01:49 PM |
| How to replace newline "\n" | gsprince | UNIX for Dummies Questions & Answers | 5 | 06-09-2001 07:35 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate 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 |
| Bookmarks |
| Tags |
| perl, sed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|