#!/bin/shecho "I will save the man command to file"man $1 | col -b > /home/master/man_chinese/$1.txtif [ -f /home/master/man_chinese/$1.txt ]thenecho "successed"elseecho "fail"fichmod 664 /home/master/man_chinese/$1.txtchown master /home/master/man_chinese/$1.txt
原文:http://www.cnblogs.com/xujintao/p/7047478.html