csh å ¥é ---- if .... then ..... else ..... endif ããã°ã©ã ã«ã¯åå²ãå¿ è¦ã§ããif æãããªãã¨å¤æãã§ãã¾ã ãã2.2 ã§æ¢ã« if æãã§ã¦æ¥ã¾ããããããã§ã¯ãã£ã¨ãã ãã㪠if æãç´¹ä»ãã¾ãã 3.1 file ã®åå¨ã確èªãã file 1.3 㧠EUC ã³ã¼ãã«å¤æããã³ãã³ã 2e ãä½ãã¾ããã 2e ã³ãã³ãã§ã¯ãfile ã®åå¨ã確èªãã¾ãããã ã³ãã³ãã®å¼æ°ã§ããã$1 ããããã確èªãã¾ããã ããã§ã¯ããã確èªå¦çããããã°ã©ã ãä½ãã¾ãã å®è¡ã¯ç°¡åã®ãã ls ã®ã¿è¡ããã¨ã«ãã¾ãã #!/bin/csh # 3.1 file ã確èªã EUC ã³ã¼ãã«å¤æãã 2e-new # $#argv : å¼æ°ã®ç·æ° if ( $#argv ) then # ãã å¼æ°ã 1 å以ä¸ãã£ãã file
{{#tags}}- {{label}}
{{/tags}}