X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=carat.sh;h=a96b68041d92363af171ebe342db2f425f88b650;hb=c643c5b764d6fd09aaf8708a8593ca944802ae1b;hp=07a68fb2c2f90f09dfa5de66909c0c1dab57ae74;hpb=e3495d89b7c14f67b2bf7b98538ec65b76938355;p=cmccabe-bin diff --git a/carat.sh b/carat.sh index 07a68fb..a96b680 100755 --- a/carat.sh +++ b/carat.sh @@ -15,4 +15,8 @@ # Colin McCabe # -fold -s -w 75 | sed 's/^/> /' +if [[ "$1" == "-w" ]]; then + fold -s -w 75 | sed 's/^/ > /' +else + sed 's/^/ > /' +fi