If I want to cut a list of text using a string as a delimiter, is that possible? For example I have a directory where a list of shell scripts call same perl script say
Or you can try eg Ruby:
grep abc.pl * | ruby -ne 'p $_.chomp.split("abc.pl").last'