N/ { print $0 }' $PROJ.time;; 98 f) awk '/OFF/ { print $0 }' $PROJ.time;; 99 *) echo "\n ** Wrong command, try again **";; 100 esac 101 done;; 102 *) echo "\n ** Wrong command, try again **";; 103 esac 104 done   PROJ PROJ2 , RSP  timelog? - . , , . - , . - , . : , (.. ), . timelog. , , . timelog . , - . timelog? Timelog , . , - , , , - . Timelog - . UNIX - , . , - , . , . , . , , (.. ). , , , - , - . , - ! - - , . , , timelog, - , . - , "report report_file". , , . shell. , , - . , , . , . , . timelog , - . --------------------- | | Thu, Jun 19 21:32:12 | | Time Logger | ----------- Project: | s) Select a project file | c) Create a new project file | l) List current project files | v) View the project file | n) Turn billing on | f) Turn billing off | r) Report statistics | | enter response (s,c,l,v,n,f,r,): . . , . "Time Logger" ( ). "Report statistics" ( ) - . , "Project:" (), , . , , - . , , . s . : --------------------------- | | Enter project name ( for exit): | ( ): , , . , l, . , ( ) . c . , , , timelog, - . c, : --------------------------- | | Enter the new project name ( to exit): | ( ): , . . , , , - . l . , , ls. , . ls. . "project. time". project , - . .time. - , .time , - , . , , , . - , . v . , , . "Project:". - , - . UNIX more. n . . - , , . , , . - , . , . . , .. f . , , - . , - . , . r . - : ----------------------- | | Statistics | ---------- Project: | a) Accumulative time totals | n) All times on | f) All times off | | enter response (a,n,f,): , . - , . , . , .  1. c,l,v . c - . l , v , . 2. n,n . - , . Timelog , , . 3. s,junk . - . junk ( ). Timelog , junk. , , - .  , . 4 PROJ . PROJ - , , . , . 6-104 - while, - . , - break, ( - ), . 8 date. , - cut - shell - . $1, $2 .. 9-23 . - date. $1, $2 $3 - , . $4 - . echo - , , . PROJ , . \c - echo , . RSP 25. case ( 27-103), - . 28 , - , , . , while break . - , - exit shell. shell exit _exit -. exit , - . ESC - . , - . exit, - ESC-, . ! 29-38 . - PROJ2. PROJ2 - . , - continue while. - , timelog. , . , . , PROJ PROJ2. , , , , , . - . PROJ - . 39-50. - , . , , . - . 50. - , . 51-53. - , ls . , ls , , ||. shell if-then, - . ls (.. ), ( ) echo. echo , , . ls sed - .time. , . , , . 54-60. - , . , . , - more - . , echo (:). , , (-) , echo "", . - , . 61-70. , . , - , . , - tail , cut, - : . OFF, . 69 , 70 ON, . - . . , . 71-80 . - , , "on", "off". 81-101 - . , : while, , , case - .. r , , case. , 96-99 . , . 102 . , case while, .  - . - - ( , ). - . " " " " - . , - - ( ) expr (, , awk). , . ----------------------------------------------------- : today ------------------------------------------------------ today  cal - .   today   today today 1 : 2 # @(#) today v1.0 Calendar with today highlighted Author: Russ Sage 2 4 SYSV=n 6 set `date` 8 if [ "$SYSV" = "y" ] 9 then RVR=`tput smso` 10 BLNK=`tput blink` 11 NORM=`tput rmso` 12 cal ${2} ${6} | sed "s/${3}/${RVR}${BLNK}${3}${NORM} /g" -e "s/^/ /" 13 else RVR="^[[7m" # termcap so 14 NORM="^[[0m" # termcap se 15 cal ${2} ${6} | sed -e "s/ ${3}/ ${RVR}${3}${NORM} /" -e "s/^/ /" 16 fi   RVR BLNK , NORM  today? , . , - . - cal , , . ? date . , , . - cal. , . today? Today - cal, - . - cal , . UNIX System V ( 2 ), - terminfo. Terminfo termcap - , - UNIX . System V, . termcap terminfo UNIX. UNIX - . - . termcap, - . terminfo, - , . , , SYSV. , today - . uname, shell- /bin - , . SYSV , today System V. , . ? . termcap. - . , , , vi termcap , , . termcap . , - . , , "so" ( ) "se" ( ), , . Termcap, , , - , , , - . System V ( 2) tput - . today ANSI , - XENIX. /etc/termcap . , . , /etc/termcap ESCAPE \E. today, ESCAPE. ESCAPE vi, control-V - . control-V ^, ESCAPE - [. , - vi - ^[[7m. ^[ ESCAPE - [7m . , , today - , . - cal sed. sed ESC-. , . - . .  4 SYSV "n". , , . System V, - , "y". 6 date. . 8-16 - . - if-then-else. 9-12 System V tput , 13-15 . shell ESC-- . . cal , date. sed, "", date. , sed , , , , - . - sed .   , , , , , - . UNIX , - . - "" . - MS-DOS, - UNIX. UNIX. UNIX , , - . shell UNIX , - . , - . jargon - - , . , , . - . phone. Phone - , , - . . office. - , . , , - , . ------------------------------------------------------- : jargon -------------------------------------------------------  - .   jargon   jargon 125 , 125 Total Monitored Concept jargon 1 : 2 # @(#) jargon v1.0 Technical jargon generator Author: Russ Sage 2 4 echo "\n\t\tThe Jargon Generator" 5 while : 6 do 7 echo "\nEnter a 3 digit number (000-999), ? , or : \c" 8 read NUM 10 case $NUM in 11 "") exit;; 12 \?) cat < /dev/ null || 27 { echo "\nNot a valid number, try again "; continue; };; 28 *) echo "\nInvalid input, try again" 29 continue;; 30 esac 32 N1=`echo $NUM|cut -c1` 33 N2=`echo $NUM|cut -c2` 34 N3=`echo $NUM|cut -c3` 35 SEN="" 37 case $N1 in 38 0) SEN="${SEN}Integrated ";; 39 1) SEN="${SEN}Total ";; 40 2) SEN="${SEN}Systematized ";; 41 3) SEN="${SEN}Parallel ";; 42 4) SEN="${SEN}Functional ";; 43 5) SEN="${SEN}Responsive ";; 44 6) SEN="${SEN}Optional ";; 45 7) SEN="${SEN}Synchronized ";; 46 8) SEN="${SEN}Compatible ";; 47 9) SEN="${SEN}Balanced ";; 48 esac 50 case $N2 in 51 0) SEN="${SEN}Management ";; 52 1) SEN="${SEN}Organizational ";; 53 2) SEN="${SEN}Monitored ";; 54 3) SEN="${SEN}Reciprocal ";; 55 4) SEN="${SEN}Digital ";; 56 5) SEN="${SEN}Logistical ";; 57 6) SEN="${SEN}Transitional ";; 58 7) SEN="${SEN}Incremental ";; 59 8) SEN="${SEN}Operational ";; 60 9) SEN="${SEN}Third-Generation ";; 61 esac 63 case $N3 in 64 0) SEN="${SEN}Options";; 65 1) SEN="${SEN}Flexibility";; 66 2) SEN="${SEN}Capability";; 67 3) SEN="${SEN}Mobility";; 68 4) SEN="${SEN}Programming";; 69 5) SEN="${SEN}Concept";; 70 6) SEN="${SEN}Time-Phase";; 71 7) SEN="${SEN}Projection";; 72 8) SEN="${SEN}Hardware";; 73 9) SEN="${SEN}Contingency";; 74 esac 76 echo "\n\"$SEN\"" 77 done   N1 N2 N3 NUM , SEN ,  jargon? , - . , , . , - , , ? . , . , , . , , ! , - . BSD, jargon fortune, - . ! jargon? Jargon - , - . , . , , . - , . jargon . . , ?. : ----------------------------- | | The Jargon Generator | | Enter a 3 digit number (000-999), ?, or : ? | | 0. Integrated 0. Management 0. Options | 1. Total 1. Organizational 1. Flexibility | 2. Systematized 2. Monitored 2. Capability | 3. Parallel 3. Reciprocal 3. Mobility | 4. Functional 4. Digital 4. Programming | 5. Responsive 5. Logistical 5. Concept | 6. Optional 6. Transitional 6. Time-Phase | 7. Synchronized 7. Incremental 7. Projection | 8. Compatible 8. Operational 8. Hardware | 9. Balanced 9. Third-Generation 9. Contingency | . - , - . , - . , . . . . , , , . , , , - . . jargon , - , . , - , .  1. $ jargon 898 , 898, Compatible Third-Generation Hardware ( ). 2. $ jargon 187 Total Operational Projection ( - ).  4 . , . 5-77 while. , - case. 7 , 8 NUM. 10-30 case, - , . , 11 . - . . 12. - , . , ? shell . . , , - . 12-24 cat - . " ". <<. , , - -, EOF. , , 25 - while. : , , shell , /tmp. "shXXXX", XXXX - - shell, . - . shell - . . 26 , . / . shell , . , - , expr, . expr , NUM " , , - , , ". , expr . expr , - /dev/null. , || ( ), - while. , if-then-else. || , {} . . -, continue , expr. , , . case. , ^ $. case : [0-9][0-9][0-9] statement;; expr , , - expr . 28 - *. , continue while, . , shell . test . , test(1) , shell. test =, !=, . test -lt, -eq, - - . , .. , str1 -eq str2. 32-34 . - case, . 35 SEN . (- , - - , , , , , , .) . 37-48 case. case N1 . - SEN , . - , - . case - . 76 , - . , 754 , Synchronized Logistical Programming (- ).  . , ( expr