[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sed or awk: remove a line from a file



On 3 June 2010 03:33, Karl Vogel <vogelke@bsd118.wpafb.af.mil> wrote:
>
> Here are some good pages on sed and awk one-liners:
>
>  http://www.catonmat.net/blog/sed-one-liners-explained-part-one/
>  Famous Sed One-Liners Explained, Part I: File Spacing, Numbering and
>    Text Conversion and Substitution
>  Wed, 8 Oct 2008 03:00:00 -0400
>
>  http://www.catonmat.net/blog/sed-one-liners-explained-part-two/
>  Famous Sed One-Liners Explained, Part II: Selective Printing of Certain
>    Lines
>  Sun, 21 Dec 2008 14:45:00 -0500
>
>  http://www.catonmat.net/blog/sed-one-liners-explained-part-three/
>  Famous Sed One-Liners Explained, Part III: Selective Deletion of Certain
>    Lines and Special Applications
>  Wed, 14 Jan 2009 17:10:00 -0500
>
>  http://www.catonmat.net/blog/awk-one-liners-explained-part-one/
>  Famous Awk One-Liners Explained, Part I: File Spacing, Numbering and
>    Calculations
>  Sun, 28 Sep 2008 01:00:00 -0400
>
>  http://www.catonmat.net/blog/awk-one-liners-explained-part-two/
>  Famous Awk One-Liners Explained, Part II: Text Conversion and Substitution
>  Sat, 13 Dec 2008 04:25:00 -0500
>
>  http://www.catonmat.net/blog/awk-one-liners-explained-part-three/
>  Famous Awk One-Liners Explained, Part III: Selective Printing and
>    Deleting of Certain Lines
>  Mon, 5 Jan 2009 10:00:00 -0500
>
>  http://www.catonmat.net/blog/update-on-famous-awk-one-liners-explained/
>  Update on Famous Awk One-Liners Explained: String and Array Creation
>  Mon, 9 Feb 2009 10:25:00 -0500
>

Thanks, Karl, there was some real good info in there!


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


Reply to: