erase_dist
来自「speech signal process tools」· 代码 · 共 36 行
TXT
36 行
#!/bin/shecho "!!!!! This program erases the current distribution !!!!!"echo -n " Do you want to continue? [n] "read ansif [ ! "$ans" = "y" ] ; then echo "Aborting"fiecho "Removing the bin files"rm -f bin/*echo "Removing the include dirs "rm -fr include/*echo "Removing the doc files"rm -f doc/*.doc doc/*.rdm doc/*.txt doc/man/man?/*echo "Removing the src/progs dir"rm -fr src/progsecho "Removing the src/lib_fcns dir"rm -fr src/lib_fcnsecho "Removing the src/scripts scripts"scr=`find src/scripts -type f -print | grep -v gen_make | grep -v erase_dist | grep -v install`rm -fr $screcho "Removing the lib files"lib=`find lib -type f -print | egrep -v 'make' `dirs=`find lib -type d -print | grep -v make | grep -v '^lib$'`rm -fr $lib $dirsecho "Removing the main make file"rm -f Makefile src/Makefile
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?