Digital Consumption


 Charles Darke | 28 November 2007
I used to use GNU sed, but the BSD version of sed could not edit in place.

Instead of compiling GNU sed for each platform, I found a more portable way to do it using Perl:

perl -pi -w -e 's/search/replace/g;' *.c
 


Comments (0)

No comments yet: be first to add comments to this topic!