Switch to double quotes in Windows.perl -lane '$h{$_}++ for @F; END{print qq{$h{$_} $_\n} for sort keys % +h}' file
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
In reply to Re^2: Reporting entries in a file (unix one-liner)
by codeacrobat
in thread Reporting entries in a file
by SkullOne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |