atat-mirror/glue/jobctrl/blanktonl

8 lines
170 B
Plaintext
Raw Permalink Normal View History

2023-08-31 20:30:18 +02:00
#!/bin/csh
if ( x"$1" == "x-h" ) then
echo Converts each contiguous sequence of blanks to a newline character.
exit
endif
sed "s/^[ ]*//g" | sed "s/[ ][ ]*/\\
/g"