![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Write to a CD in SCO | zmaster18 | SCO | 4 | 04-10-2008 05:04 PM |
| How to Write RPM | kjannu | UNIX for Dummies Questions & Answers | 1 | 06-23-2006 09:23 AM |
| How to write daemon? | sg6876 | High Level Programming | 2 | 11-18-2005 02:33 AM |
| How to write this scrip | rajeshgngv | Shell Programming and Scripting | 1 | 09-19-2005 03:53 AM |
| tar write err | Kevin Pryke | UNIX for Dummies Questions & Answers | 4 | 05-17-2002 10:35 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to write
hi
buddies i want to write a awk script for the file like this: Aaj rootha huwa ek dost bahut yaad aaya, Achha guzra huwa kuch waqt bahut yaad aaya, Meri aankhon ke har ek ashq pe rone wala, Aaj jab aankh yeh royi to bahut yaad aaya, Jo mere dard ko seene mein chhupa leta thaa, Jo meri aankh mein kajal ki tarah rehta thaa, Aaj kajal jo lagaya to bahut yaad aaya, Jo mere dil ke thaa kareeb faqat uss ko hi, Aaj jab dil ne bulaya to bahut yaad aaya. so using this file i want to insert a new line , after this line Jo mere dard ko seene mein chhupa leta thaa the outfile should be like this: Aaj rootha huwa ek dost bahut yaad aaya, Achha guzra huwa kuch waqt bahut yaad aaya, Meri aankhon ke har ek ashq pe rone wala, Aaj jab aankh yeh royi to bahut yaad aaya, Jo mere dard ko seene mein chhupa leta thaa, this is narayana , how r u sos and so Jo meri aankh mein kajal ki tarah rehta thaa, Aaj kajal jo lagaya to bahut yaad aaya, Jo mere dil ke thaa kareeb faqat uss ko hi, Aaj jab dil ne bulaya to bahut yaad aaya. regards narayana |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|