シェルスクリプト総合 その19
■ このスレッドは過去ログ倉庫に格納されています
0855名無しさん@お腹いっぱい。
2012/05/18(金) 07:00:59.45参考までに
1. Bourne Shell Tutorial
http://www.grymoire.com/Unix/Sh.html
The original version of the Bourne shell didn't have functions. If you wanted to perform an operation more than once, you either had to duplicate the code, or create a new shell script.
2. Linux におけるシェルの進化
http://www.ibm.com/developerworks/jp/linux/library/l-linux-shells/?cmp=dw&cpb=dwlin&ct=dwrss&cr=dwrss&ccy=jp&csr=012012
ただし、関数を定義する機能は欠けていました。
3. 知っている限りでは、ここが一番情報が多い
traditional Bourne shell family / history and development
http://www.in-ulm.de/~mascheck/bourne/
The Variants
A summary of the most important changes
? Version 7 (1979) control structures, cmd substitution, () and {}, arbitrary variable names, trap, eval, special parameter substitutions, case
? System III (1981) #, [!...], colon parameter substitution, set --
? SVR1 (1983) shift n
? SVR2 (1984) functions, built-ins: unset echo type, redirection for builtins
4. 3の下の方のSource codeにある、Nikola Vladov のマニュアルで、
man v7sh
BUGS Coexists with but doesn't understand shell functions.
5. FreeBSD Portsはよく分かりませんが、
v7sh FreeBSD
http://www.freebsdsoftware.org/shells/v7sh.html
functions aren't supported and command line input is not 8 bit clean
■ このスレッドは過去ログ倉庫に格納されています