> > > How to do this in a single command? > > sed -e 's/[123-]/ /g' <your_file_name> > > remove the 'g' at the end if you want to replace only the first > instance (in the line). > > Thanks for this useful tip.
sed is a good choice for replacing text in files, as I am using it in Fedora kickstart files for modifying many of the system configuration files after post installation. S.Baskar _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
