Last active
July 20, 2019 04:57
-
-
Save ifduyue/64590e26ba6c5c714f0e5eef8ec65001 to your computer and use it in GitHub Desktop.
Perl check if lines contain trailing spaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -Mopen=IO,:raw -ne 'chop; print "$ARGV\@$.: $_\n" if /\s$/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment