2009-12-15から1日間の記事一覧
#!/bin/sh #nfmt.sh #nroffを使ったfmt #-w行の幅を指定する #-hハイフネーションを有効にする while getopts "hw:" opt; do case $opt in h ) hyph=1 ;; w ) width="$OPTARG" ;; esac done shift $(($OPTIND -1)) nroff << EOF .ll ${width:-72} .na .hy ${…
#!/bin/sh #nfmt.sh #nroffを使ったfmt #-w行の幅を指定する #-hハイフネーションを有効にする while getopts "hw:" opt; do case $opt in h ) hyph=1 ;; w ) width="$OPTARG" ;; esac done shift $(($OPTIND -1)) nroff << EOF .ll ${width:-72} .na .hy ${…