![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing last character from each line of file | cjhancock | Shell Programming and Scripting | 17 | 08-29-2008 05:05 AM |
| Removing text from a line in a file | outthere_3 | Shell Programming and Scripting | 10 | 02-13-2008 03:38 AM |
| removing a character and addending to end in each line in a file | arunkumar_mca | UNIX for Dummies Questions & Answers | 5 | 01-30-2008 12:48 AM |
| Placing lines file in array | ThomasvdH | Shell Programming and Scripting | 4 | 10-19-2006 01:33 PM |
| Removing a particular line from a text file | sendhilmani123 | Shell Programming and Scripting | 5 | 05-31-2006 09:32 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
removing a line from a file and then placing into another file
grep `whoami` $1 >> file
this lets me take out the username from a file and then i move it to a file but i need it to do one step at a time because i want the occurences to be numbered like 1)HOME=/home/joe.bloggs 2)LOGNAME=joe.bloggs instead of just HOME=/home/joe.bloggs LOGNAME=joe.bloggs anyone any ideas |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|