dryu999 发表于 2018-8-23 13:26:16

又见101个shell脚本

#!/bin/sh
  
# A version of fmt, using nroff. Adds two useful flags: -w X for line>  
#   and -h to enable hyphenation for better fills.
  
while getopts "hw:" opt; do
  
case $opt in
  
h) hyph=1               ;;

  
w)>  
esac
  
done
  
shift $(($OPTIND - 1))
  
nroff
页: [1]
查看完整版本: 又见101个shell脚本