endsw foreach, if, switch while. "" csh. csh - . exit exit( ) csh - status ( ), - "" ( ); glob _ echo, - , - , " goto . , . - ":". hashstat , , - . 85 00210-01 33 01-4 history . if () , - "". . . login login login csh - init . "" . - . logout csh. ignoreeof, <CTRL/D> - . nice nice + nice nice + csh 4. . - 4 "" . 86 00210-01 33 01-4 "nice - ...", - - . csh. . nohup nohup csh . nohup , . "". , nohup . onintr onintr - onintr csh . csh , - csh - . - . "goto ". rehash 87 00210-01 33 01-4 - , - , path. repeat "" "" . / . set set set = set []= set =(_) csh. , , , . "" . "" "". - - "" "". "" "_". setenv setenv , . shift 88 00210-01 33 01-4 shift argv , argv[1] ( ) . , . - "". source Csh "". a source . - , - . source source. , - source . time time , - csh - . , , "". umask umask ( ) 89 00210-01 33 01-4 ( ). . - 022 ( ), - , 002, , , ; unalias , - , . , "unalias *" . , - . - . unhash - - . unset , - , . , - "unset *" , - set. - . 90 00210-01 33 01-4 wait . wait. csh - . @ @= @[]= - csh. "" "". "<", ">", "&" "|", (...). "" - "" "". "" "" - . : argv csh. - (- , "$1" "$argv[1]"). child . - . (unset). echo , - 91 00210-01 33 01-4 "-". . - . history . - . - 22 . home . ignoreeof csh - " " <CTRL/D>. mail , - csh - . noclobber - ">>". noglob . nonomatch 92 00210-01 33 01-4 , . , (, " ["), . path . prompt - . "!", " "%" - - "#" - . shell (- "x") "#", csh. "#" - sh. shell , csh. status (0 - , 1 - - ). time , - . 93 00210-01 33 01-4 verbose "-v" - . CSH: -c , - "-c". argv; -e csh, - - ; -f ".cshrc" csh; -i - ; -n ; -s ; -t . " -v verbose, - 94 00210-01 33 01-4 ; -V verbose - ".cshrc"; -x ; -X "-x" ".cshrc". : (quit). , , (interrupt) . , . csh onintr. , - , (terminate); - . ".logout", . : ^/.cshrc csh . ^/.login csh ".cshrc" . ^/.logout csh . 95 00210-01 33 01-4 /bin/sh shell , "#". /tmp/sh* "<<". /dev/null . /etc/passwd "^". : , 512 . - . 512 5120 . , , 1/6- , . - , . csh 20-. : sh, environ. : , . , ' "|", "&" ";". 96 00210-01 33 01-4 , "?", . - ":" . - "$" ":". - status, , . 0200 status - . - , - , - , - . / , . 97 00210-01 33 01-4 : ctags - : ctags [-auw] ... : ctags ( tags) , . - ' ( - ) . : , ( ), - , - . - . : -a , tags; -x ctags , , . ; -v - (, 98 00210-01 33 01-4 64 ); -u , .. , . - "-a"; -w . (main) . - , "M" ".c", , o . ctags , . : tags . 99 00210-01 33 01-4 : date - . : date : . "" , "" - , "" - , "" - ( 24- ), - "" . : utmp 100 00210-01 33 01-4 : dc - . : dc [] : . , - . - dc - ( ). , ( , ), - . : . 0-9. "_", . ; + - / * % ^ (+), - (-), (*), (/), - (%) (^). ; 101 00210-01 33 01-4 . - ; sx - "x", "x" . S - , "x" , ; lx "x" . - "x" . - . L - , "x" , ; d ; p . . "P" -8, ; f , - ; q . . Q , ; 102 00210-01 33 01-4 x dc; X ; [...] -8 - ; <x >x =x - . - , "x"; v . , - ; ! - ; c ; i - . I ; o - . O - 103 00210-01 33 01-4 ; k , - - : - , . - , - , ; z . Z - ; ? ( ) ; ; : bc - . : bc - dc, , - . dc. : "x is unimplemented" ("x "), x - . 104 00210-01 33 01-4 "stack empty" (" "), . "out of space" (" "), ( ). "out of headers" (" "), - . "out of pushdown" (" "), . "Nesting Depth" (" "), . 105 00210-01 33 01-4 : dcon - : dcon [ ] : Dcon . , - . , "", ( - (, ). " " - , - . , - , . , dcon , . - dcon. dcon . , , : source_name - (source_name), - ; ;r0...;r15 106 00210-01 33 01-4 0 15; ;fr0...;fr6 0,2,4,6; local_name , "#"; number , , "" (n, n, Oxn); . "" - ; .. ; $ ; expr , "//" ; name=expr ' expr; function:variable (variable) (function); *expr expr; 107 00210-01 33 01-4 enter(name) ; exit(name) ; , , - . - : . : -b ; -h ; -w ; -l ; -a . : -d ; -o ; -x ; -c ; -s ( ); 108 00210-01 33 01-4 -i ; -ix i x; -v , - . : (new-line) ".+ "; expr1,expr2[print-option] expr1 expr2; +expr[print-option] ".+"; -expr[print-option] ".-"; ?[print-option] "" ; *[print-option] '*'; ;psw[print-option] psw; !-command shell; {command_list} 109 00210-01 33 01-4 ; ;if(expr)command , command ; ;bp expr[command_command][/*comment] ; ;macro name(arg)command , - , , (arg); ;go [arg1 arg2...] , - ; ;cont [expr] (expr); ;brks ; ;clr [expr] ; ;quit ( ); ;do file "file"; ;out [file] "file"; 110 00210-01 33 01-4 ;save [expr][/*comment] e . , . , , , file.cmt. ;rst [expr] expr - dcon. expr - , ; ;copy file ;save file; ;ss [n[command]] , "n" - , . 111 00210-01 33 01-4 : dd - . : dd [ = ] ... : dd . - - . , - -. if= ( - ). of= ( - ). ibs=n n . obs=n n . bs=n , 112 00210-01 33 01-4 , ibs obs. - , ( ). cbs=n . skip=n n - . files=n n - . seek=n n . count=n n . conv=ascii -8. conv=ebcdic -8 . conv=ibm -8 . 113 00210-01 33 01-4 conv=lcase . conv=ucase . conv=swab . conv=noerror . conv=sync ibs. conv=...,... , . , , . "k", "b" "w", 1024,4096 2 . "x". "cbs=n" , - ascii ebcdic. cbs , - -8 . - 114 00210-01 33 01-4 -8 , - , - cbs. dd - . : , - 80- , x: dd if=/dev/mt580 of= ibs=800 cbs=80 conv=ascii,lcase (rmt). dd -, . : cp, tr : "f+p records in (out)" ("f+p (- )"): (- ) . : - -8. 115 00210-01 33 01-4 . . 116 00210-01 33 01-4 : ddutok - "u-cod" . : ddutok ... : ddutok "" "u-cod" . , , - . "u-cod" - , -8 , , 0340, - 0300. : dd 117 00210-01 33 01-4 demsend - . demsend pl/1. - - . vmread. dsend - R EXEC vmread: /modes; userid; destfile. modes vmread; userid destfile demsend: //name job ... 118 00210-01 33 01-4 //*route punch mode.dem //senddem exec pgm=demsend,parm='/s;petr1;blah' //steplib dd dsn=engtools.public.load,disp=shr //in dd dsn=petr1.test.blah,disp=old,dcb=(...) //out dd dcb=(recfm=fb,lrecl=80,blksize=80), // sysout=b demsend demsend module demsend exec, - . vmread, send 119 00210-01 33 01-4 : deroff - pif, troff, tbl eqn. : deroff [-w] ... : deroff - pif, troff, , , eqn ( ".eq" ".en" - ), , . deroff ( ".so" ".nx").E , ".so" , ".nx" . , deroff . "-w", , "" ( , - , ; ) - , . , - . : pif, eqn, tbl : 120 00210-01 33 01-4 deroff pif, . - , . 121 00210-01 33 01-4 : diff - . : diff [-l] [-r] [-s] [-cefh] [-b] 1 2 diff [-cefh] [-b] 1 2 diff [-d] [-b] 1 2 : , diff - (- ) - . , - . , - . : -l " " - pr.O - ; -r diff ; -s ; -sname 122 00210-01 33 01-4 name. diff , - , . "1" ("2") "-", . - , , "2" ("1"). - : n1 a n3, n4 n1, n2 d n3 n1, n2 n3, n4 ed - "1" "2". "2". , "a" "d" - , - , "2" "1". ed, , n1=n2 n3=n4 . , "<", - , ">". "-b" - , , - - . 123 00210