![]() |
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 |
| deleting lines by number | cary530 | UNIX for Dummies Questions & Answers | 9 | 03-30-2009 02:09 PM |
| Deleting lines in a file | reachsamir | Shell Programming and Scripting | 2 | 05-29-2007 11:17 AM |
| Deleting last 2 lines from the file. | videsh77 | Shell Programming and Scripting | 4 | 04-06-2007 01:14 PM |
| deleting lines | ajnabi | Shell Programming and Scripting | 8 | 05-02-2003 11:50 AM |
| deleting lines | supercbw | High Level Programming | 1 | 05-06-2002 12:53 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi all....I'm using awk to validate a csv file, but now I've been told to delete any invalid lines from the file.. Im not sure what the best way to do this is?
Would it be to create a temp file say "csv_temp.tmp" file and print all the valid records to that temp file. Then delete the old file "csv_file.csv" and rename the temp file to "csv_file.csv"? is this an efficient way of doing this? any code snippets of kind of file manipulation would be greatly appreciated? Kind Regards Satnam |
|
||||
|
can i know how i can delete a particular record from a 1 million record file using awk?
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|