perl -0777pe '/asdf = ((?:\w+ ?)+)/ and $_ = join "_", sort {length $b <=> length $b or $a cmp $b } split /\s+/, $1' makefile
In reply to Re: Single Line Perl Command and Makefile
by ccn
in thread Single Line Perl Command and Makefile
by EchoAngel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |