Return to cvsweb.cgi CVS log | Up to [cvsweb.bsd.lv] / cvsweb |
version 3.17, 2000/09/03 18:25:47 | version 3.18, 2000/09/04 14:50:22 | ||
---|---|---|---|
|
|
||
local $_ = $_[0]; | local $_ = $_[0]; | ||
# Cut trailing spaces | # Cut trailing spaces | ||
s/\s+\n$//; | s/\s+$/\n/; | ||
# Expand tabs | # Expand tabs | ||
s/\t+/' ' x (length($&) * $tabstop - length($`) % $tabstop)/e | s/\t+/' ' x (length($&) * $tabstop - length($`) % $tabstop)/e |