If you can't do it in one line of perl, it isn't worth doing:
perl -i.bak -pe 's/\0//g' "Rays Picks.m3u" That will strip all the nulls. (Note the quotes around the s/// expression are plain old single quotes (by the enter key), Double quotes wouldn't work the same and you would need to have \\\0 or something ugly. -- snarlydwarf ------------------------------------------------------------------------ snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179 View this thread: http://forums.slimdevices.com/showthread.php?t=35366 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
