diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-08 14:08:03 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | 9af0dced5a2eb167ec7b9dfe3f358f214e45d41a (patch) | |
tree | b182495d17047e581cbee89db69d76d87173b0cc /src/extract-magic | |
parent | 36b9a1b6ac2730e78c14552fd55795fe10862a3d (diff) | |
download | coreutils-9af0dced5a2eb167ec7b9dfe3f358f214e45d41a.tar.xz |
maint: convert `...' to '...' in --help output
All affected lines end with \ or \n\, so run this command
until it produces no new changes (4 times):
git grep -E -l '`[^ ]+'\''.*\\' src \
|xargs perl -pi -e 's/`([^ ]+'\''.*\\)/'\''$1/'
Diffstat (limited to 'src/extract-magic')
-rw-r--r-- | src/extract-magic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extract-magic b/src/extract-magic index 5da7fe820..0a30b0734 100644 --- a/src/extract-magic +++ b/src/extract-magic @@ -54,7 +54,7 @@ sub usage ($) my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); if ($exit_code != 0) { - print $STREAM "Try `$ME --help' for more information.\n"; + print $STREAM "Try '$ME --help' for more information.\n"; } else { @@ -103,7 +103,7 @@ EOF my $file = $ARGV[0]; open FH, $file - or die "$ME: can't open `$file' for reading: $!\n"; + or die "$ME: can't open '$file' for reading: $!\n"; # For each line like this: # case S_MAGIC_ROMFS: /* 0x7275 */ |