> My entry in the "neat one liner" competition to do this is: > $ perl -p -i -e "s/\000//g" infile > > in the days before Perl you would use sed to do it. I would still use sed to do it, in particular from a shell script which may process a large number of files. Sed is much quicker to load than perl. Cheers Erich -- Erich Schulz Instrumental Technologies PO Box 6028, Lake Munmorah, NSW 2259 Ph: (+61)0500 551 228 , Fax: (+612) 43583113 Mob: 0408 201 228 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
- [SLUG] perl substitution of metacharacter Rachel Polanskis
- Re: [SLUG] perl substitution of metacharacter John Ferlito
- Re: [SLUG] perl substitution of metacharacter James Wilkinson
- Re: [SLUG] perl substitution of metacharacter Russell Davies
- Re: [SLUG] perl substitution of metacharacter Stuart Cooper
- [SLUG] Re: perl substitution of metacharacter Erich Schulz
- Re: [SLUG] perl substitution of metacharacter Russell Davies
- Re: [SLUG] perl substitution of metacharacter Russell Davies
- Re: [SLUG] perl substitution of metacharacter John Ferlito
- Re: [SLUG] perl substitution of metacharacter Russell Davies
