aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cleanfile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cleanfile')
-rwxr-xr-xscripts/cleanfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cleanfile b/scripts/cleanfile
index cefd29e522..64507c488f 100755
--- a/scripts/cleanfile
+++ b/scripts/cleanfile
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# Clean a text file -- or directory of text files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.
@@ -6,6 +6,7 @@
use bytes;
use File::Basename;
+use warnings;
# Default options
$max_width = 79;