⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gentar

📁 linux下阅读源码的好工具
💻
字号:
#!/bin/sh# $Id: gentar,v 1.1 1998/04/27 16:11:23 pab Exp $## Build a tar file image of this directory, checking out files from RCS.# What version to build?RELVER=${1-DEV}srcdir="./glimpse-${RELVER}-src"# Safety check---don't overwrite existing directoryif [ -d "${srcdir}" ] ; then  echo "$0: Please remove existing source archive ${srcdir}"  exit 1fi# Get the hierarchy firstdirs=`find . -type d`# Now create the duplication areamkdir ${srcdir}cdir=`pwd`# Duplicate the directory hierarchy; if the directory has an RCS area,# check out its files, then remove the RCS link.for d in ${dirs} ; do  mkdir -p ${srcdir}/${d}  if [ -e ${d}/RCS ] ; then     (cd ${srcdir}/${d} ; ln -s ${cdir}/${d}/RCS ; co -f RCS/* ; rm RCS)  fidone# Put all that into a tar filetar cf glimpse-${RELVER}-src.tar ${srcdir}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -