Deletes 
Author Message
 Deletes

Hi,
 I want to delete the only first line of the file. How can
I do with awk.
Thanks

* Sent from AltaVista http://www.*-*-*.com/ Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful



Mon, 05 Aug 2002 03:00:00 GMT  
 Deletes


Quote:
>Hi,
> I want to delete the only first line of the file. How can
>I do with awk.
>Thanks

awk 'NR != 1' infile > outfile

sed and tail also have ways of doing this

Mark
---
Mark Katz
Mark-it, London. Delivering MR-IT/Internet solutions
Tel: (44) 20-8731 7516, Fax: (44) 20-8458 9554
For latest information about ISPC/ITE - see http://www.e-tabs.com



Mon, 05 Aug 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. delete or not to delete

2. Delete key on keyboard deleting records

3. Deleted procs not deleted???

4. Delete all files in Dir or delete Dir

5. Keyboard Delete button to delete row in array

6. bug(?): menu delete operation always deletes at least one entry

7. how delete a while loop that including other object without deleting these?

8. how to delete a folder containing many files in it using delete vi.

9. does deleting a cavas obj delete it's bindings?

10. "pathname delete..." deletes 2 characters instead of 1

11. Delete files on Windows--C:\Recycle or file delete?

12. How to Recover records Deleted using COBOL physical delete comman?

 

 
Powered by phpBB® Forum Software