aboutsummaryrefslogtreecommitdiff
path: root/scripts/cleanfile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cleanfile')
-rw-r--r--[-rwxr-xr-x]scripts/cleanfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/cleanfile b/scripts/cleanfile
index cefd29e52..c00c69b91 100755..100644
--- a/scripts/cleanfile
+++ b/scripts/cleanfile
@@ -1,9 +1,11 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0
#
# Clean a text file -- or directory of text files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.
#
+use warnings;
use bytes;
use File::Basename;