79539956

Date: 2025-03-27 20:27:07
Score: 2
Natty:
Report link

I love sed, but think that Perl is shorter and simpler in this case:

ldd some-proj/build/a.out | perl -ne 'print $1 . "\n" if m/\s+=>\s+(\S+?)\s+/' | tar -hcvf some-proj.tar.gz -T -

\s matches both space and tab.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: paulv