![]() |
|
|
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 |
| perl newbie . &&..programming newbie (question 2) | xytiz | Shell Programming and Scripting | 1 | 05-07-2009 01:26 PM |
| UNIX newbie NEWBIE question! | Hanamachi | UNIX for Dummies Questions & Answers | 4 | 03-28-2009 04:10 PM |
| Very new newbie question | Split100 | UNIX for Dummies Questions & Answers | 4 | 11-29-2005 04:49 PM |
| Newbie question | peeyush_23 | Shell Programming and Scripting | 9 | 02-18-2005 06:39 PM |
| Newbie Question... | flopper | UNIX for Dummies Questions & Answers | 4 | 11-27-2001 04:51 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
$ awk -f awk1.awk
Where awk1.awk reads: BEGIN { printf ("Name = Smith, Richard" > "awk1" \n) printf ("Name = Johnson, Waylan" > "awk1" \n) printf ("Name = Brown, Pat" > "awk1" \n) } If I get rid of "\n", awk1 file gets created but all the names appear on one line. If I keep the "\n" I get an error saying syntex error How can I create the file so that all the names appear on separate lines. Thanks in advance .... |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|