in reply to Find partially matching line in file - print that line to another file

<<123455 this wouldn't be printed to new file>>
'123455' isn't in the first file.
so $pattern never contains '123455' and the regexp does not match
HTH,
PooLpi
  • Comment on Re: Find partially matching line in file - print that line to another file