📄 method
字号:
#!/bin/sh# this script greps all the lines that start with '* ' from the input # file; Results are redirected to file strip_comments.outif [ $# -eq 0 ]; then echo "Usage= `basename $0` Filename" exit;fifor fn in $*do fout=`basename $fn`.out rm $fout 2>&- echo "++++ FILENAME: $fn " >> $fout egrep -e '^\*[^/]' $fn |cut -c2- >> $fout #egrep -e '^\* |^\* ' $fn |cut -c2- >> $fout echo "++++ end of $fn " >> $fout echo " " >> $foutdone
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -