[Gllug] stipping odd { } from a file

Anthony Newman anthony.newman at uk.clara.net
Tue Jan 24 09:32:59 UTC 2006


t.clarke wrote:
> Sorry
> Cant thread this reply
> dont shoot me !!
> 
> Ref earlier post concerning removing characters from a file of numbers with
> scattered { }
> 
> Cheap and cheerful mini C prog below.
> who knows,  might even be quicker than a sed script !


Quicker than:

`cat file1.txt | sed 's/[\{\}]//g' > file2.txt`

or faster to run? ;-)


Ant
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list