diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1999-08-18 08:39:14 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1999-08-18 08:39:14 +0000 |
commit | e8b650b43485108efbb636d35a95cf19c784beed (patch) | |
tree | 81e7389bcdeda44a3ca35e6a445ca362297751a8 /sys/kern/makedevops.pl | |
parent | ecead4fb16bcb87f53edf768cb8c3da1c1d5a235 (diff) | |
download | FreeBSD-src-e8b650b43485108efbb636d35a95cf19c784beed.zip FreeBSD-src-e8b650b43485108efbb636d35a95cf19c784beed.tar.gz |
Remove redundant spaces in the whole line, not only the first occurrence.
(not that anyone actually reads the created .c and .h files :)
Diffstat (limited to 'sys/kern/makedevops.pl')
-rw-r--r-- | sys/kern/makedevops.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/makedevops.pl b/sys/kern/makedevops.pl index 2775d0a..3d4b730 100644 --- a/sys/kern/makedevops.pl +++ b/sys/kern/makedevops.pl @@ -35,7 +35,7 @@ # From @(#)makedevops.sh 1.1 1998/06/14 13:53:12 dfr Exp $ # From @(#)makedevops.sh ?.? 1998/10/05 # -# $Id: makedevops.pl,v 1.7 1999/05/10 17:06:13 dfr Exp $ +# $Id: makedevops.pl,v 1.8 1999/05/10 17:45:49 n_hibma Exp $ # # Script to produce device front-end sugar. @@ -296,7 +296,7 @@ foreach $src ( @filenames ) { # $line =~ s/^\s+//; # remove leading ... $line =~ s/\s+$//; # ... and trailing whitespace - $line =~ s/\s+/ /; # remove double spaces + $line =~ s/\s+/ /g; # remove double spaces @arguments = split m/\s*;\s*/, $line; @varnames = (); # list of varnames @@ -324,7 +324,7 @@ foreach $src ( @filenames ) { $arguments = join(", ", @arguments); $varnames = join(", ", @varnames); - $default = "0" if $default eq ""; + $default = "0" if $default eq ""; if ( $hfile ) { # the method description |