perl -wpi -le '$_ .= "%" if m!^/index!' file [download]
Abigail
In reply to Re: add character to all lines starting with.. by Abigail-II in thread add character to all lines starting with.. by Anonymous Monk