in reply to The regular expression in perl one liner not giving the expected output

Untested:
perl -pe 's/\n/ / if /^usmat/'
  • Comment on Re: The regular expression in perl one liner not giving the expected output
  • Download Code