[Purdue-pm] This has to be a thing in sed or something that I just didn't know, right?

Dave Jacoby jacoby at purdue.edu
Tue Sep 4 10:18:45 PDT 2018


Thanks for that.

I hit the point where it was simpler for me to write the thing than 
continue to wonder "Can grep do that? awk? sed? Something else?"

But good to know that yes, it's in there.

On 08/31/2018 07:15 PM, Mark Senn wrote:
>> crontab -l | match -r '([\w\.\/]*.pl)'
> 
> Tested using GNU grep 2.20 and 3.1:
>      crontab -l | grep -oP '[\w./]*\.pl'
> 
> -mark
> _______________________________________________
> Purdue-pm mailing list
> Purdue-pm at pm.org
> https://mail.pm.org/mailman/listinfo/purdue-pm
> 


More information about the Purdue-pm mailing list