\r" } else print } or you could make cr be the field separator, and test to see if the last field on the line is empty, and if so stick
into the preceding field: BEGIN { FS = OFS = "\r" } NF > 1 && $NF == "" { $(NF-1) = $(NF-1) "
" } { print } --
Originally this had dissertation stuff and some links to technology and literacy practices. Then I combined every blog and dumped it here, so it's a big, random mess of bookmarks and quotes with no real them or meta-tagging. I should probably rethink this. craniac at gmail dot com Mark Crane is the author of this smattering of bookmarks and assorted stuff.
\r" } else print } or you could make cr be the field separator, and test to see if the last field on the line is empty, and if so stick
into the preceding field: BEGIN { FS = OFS = "\r" } NF > 1 && $NF == "" { $(NF-1) = $(NF-1) "
" } { print } --
No comments:
Post a Comment