summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2001-08-23 02:37:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2001-08-23 02:37:03 +0000
commite93bfdc3ad4dee4ca16dcaab98741f4075fc1ccb (patch)
tree9b7e626c7dd5b017a20481f5a3be6e96421b8c3a /sys
parenta03c2b25617897aa3d87c9563ce4c1566eb8f553 (diff)
Expand regular expressions used in sed invocations in SPECIAL lines to
find and delete more comments from scripts put on floppy images. Now, leading whitespace and no trailing characters are both detected and either cause the comment line to be deleted. Fix list2sh.awk so that the tabs in the sed statements are not lost during script creation. Previously the remainder of the SPECIAL line, i.e. the shell statement to write, was recreated from the fields, but awk treated the <blank><tab> in the sed expression as a field separator and discarded the blank and tab. The blank was then added back in the recreation process, but the tab was lost. These changes cause the scripts to shrink by a total of 6596 characters. This handles the i386 cases, other architectures can probably be fixed the same way.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions