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

📄 bsdinstall

📁 EPIC IRC客户端。来源于IRCII客户端但做了很多性能和功能的优化。
💻
字号:
#! /bin/sh##	@(#)install.sh	4.5	(Berkeley)	10/12/83#cmd=/bin/mvstrip=""chmod="/bin/chmod 755"chown=""chgrp=""while true ; do	case $1 in		-s )	strip="/bin/strip"			shift			;;		-c )	cmd="/bin/cp -p"			shift			;;		-m )	chmod="/bin/chmod $2"			shift			shift			;;		-o )	chown="/etc/chown -f $2"			shift			shift			;;		-g )	chgrp="/bin/chgrp -f $2"			shift			shift			;;		-d )	cmd="/bin/mkdir"			shift			;;		* )	break			;;	esacdoneif test ! ${2-""}; then	echo "install: no destination specified"	exit 1fiif test ${3-""}; then	echo "install: too many files specified -> $*"	exit 1fiif test $1 = $2 -o $2 = .; then	echo "install: can't move $1 onto itself"	exit 1ficase $cmd in/bin/mkdir )	file=$2/$1	;;* )	if test '!' -f $1; then		echo "install: can't open $1"		exit 1	fi	if test -d $2; then		file=$2/$1	else		file=$2	fi	/bin/rm -f $file	;;esaccase $cmd in/bin/mkdir )	if test ! -d "$file"; then		$cmd $file	fi	;;* )	$cmd $1 $file	if test -n "$strip"; then		$strip $file	fi	;;esacif test -n "$chown"; then	$chown $filefiif test -n "$chgrp"; then	$chgrp $filefi$chmod $fileexit 0

⌨️ 快捷键说明

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