fastdecay.sh

来自「OpenMosix工具」· Shell 代码 · 共 37 行

SH
37 行
字号
#!/bin/sh -#### Copyright (c) 2000, Amnon BARAK (amnon@cs.huji.ac.il). All rights reserved.#### Permission to use, copy and distribute this software is hereby granted ## under the terms of version 2 or any later version of the GNU General Public## License, as published by the Free Software Foundation.#### THIS SOFTWARE IS PROVIDED IN ITS "AS IS" CONDITION, WITH NO WARRANTY## WHATSOEVER. NO LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING## FROM THE USE OF THIS SOFTWARE WILL BE ACCEPTED.### Author(s): Amnon Shiloh, Ariel Rosenblattusage(){	echo "Usage: `basename $0` [-{h|MOSIX_ID}] [-z] command [ arg ... ]"	exit 1}case "$1" in -[1-9]|-[1-9][0-9]|-[1-9][0-9][0-9]|-[1-9][0-9][0-9][0-9]|\	-[1-9][0-9][0-9][0-9][0-9]|-h) where=$1				       shift ;;esaccase "$1" in -z)	zflg=-z	shift	case $# in 1) echo "`basename $0`: '-z' requires an argument."		      exit 1 ;;	esacesaccase $#,"$1" in *,-*|0,*) usage ;; esacexec /bin/mosrun $where -f $zflg $*

⌨️ 快捷键说明

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