削除された内容 追加された内容
→‎外部リンク: 外部リンクの修正 http://www.speech-lab.org/~hiroki/csh-whynot.euchttp://www2.yukawa.kyoto-u.ac.jp/~kanehisa.takasaki/edu/c/cshell.txthttps://www2.yukawa.kyoto-u.ac.jp/~kanehisa.takasaki/edu/c/cshell.txthttps://docstore.mik.ua/orelly/linux/lnut/ch08_01.htmhttps://www.tcsh.org/* [http://www.tcsh.org/tcsh.html/top.html tcsh(1) man page.] * [http://www.tcsh.org/MostRecentRelease most recent tcsh source code.]https://minnie.tuhs.org/cgi-bin/utree.pl?file=2BSD/src/cshhttps://minnie.tuhs.org/cgi-bi
Wkpdlin (会話 | 投稿記録)
これらの例はbashの記述例ではなくshの記述例であるため、英語版にあわせ見出しをbashからBourne shellに修正。cshも英語版に合わせてC shellに変更。bashと比較するのであれば、"(( $days > 365 ))", ": $((i*=2))" などarithmetic comparison/expansionがあり、C shellと同様になり、本文で主張している"構文のわかりやすさ"が主張できなくなる。
30行目:
 
{|class=wikitable
!style="width:25em"|{{lang|en|bash}}Bourne shell
!style="width:25em"|{{lang|en|cshC shell}}
|-
|style="vertical-align:top"|<source lang="bash">
#!/bin/bashsh
if [ $days -gt 365 ]
then
55行目:
 
{|class=wikitable
!style="width:25em"|{{lang|en|bash}}Bourne shell
!style="width:25em"|{{lang|en|csh}}C shell
|-
|style="vertical-align:top"|<source lang="bash">
86行目:
 
{|class=wikitable
!style="width:25em"|{{lang|en|bashBourne shell}}
!style="width:25em"|{{lang|en|csh}}C shell
|-
|style="vertical-align:top"|<source lang="bash">