Commit Graph
8 Commits
Author SHA1 Message Date
david parsons c0eeb54192 include stdlib.h to make gcc stfu about exit() 2011-02-18 23:05:56 -08:00
david parsons b6e6700b38 Don't forget to exit(0) after echoing our arguments! 2010-10-28 18:30:03 -07:00
david parsons dec1515923 checkbits.sh: don't exec the diff, because that means that the workfiles remain after the program finishes. 2010-10-22 14:09:05 -07:00
david parsons 456f4b873d Add a verify stanza to the Makefile to compare the option bits in markdown.h and mkdio.h 2010-10-22 13:43:01 -07:00
David Parsons 237a6d9c5f Clean up the utf-8 support in cols so it actually works;
trigger on c & 0xC0, then loop on utf-8 stanzas until we hit
something else, but keep track of width and stop printing if
we run out of space in the middle of a string of > U+007F
characters.
2009-06-17 21:16:39 -07:00
David Parsons 46f934d147 Revise a whole bunch of test cases to use my try function.
Find and fix a bug where a url with an embedded double quote
 is printed out with that doublequote in plaintext.
2009-06-17 11:39:55 -07:00
David Parsons 8f2ce06098 Add utf-8 support to cols.c 2009-06-17 10:22:50 -07:00
David Parsons fd212c1c30 1. When testing, use my own tool cols instead of cut (cut doesn't
exist on plan9) and `grep` (with appropriate backslashing) instead
   of `fgrep` (`fgrep` doesn't exist on plan9) or `grep -F` (`-F` option
   doesn't exist on plan9?)
2. move the source for `echo` and `cols` into the new `tools` directory.
2009-06-14 10:23:28 -07:00