home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 July / PCWorld_2000-07_cd.bin / Software / Vyzkuste / MicroTel / EDITFILE / EDITFILE.SH next >
Linux/UNIX/POSIX Shell Script  |  1999-02-18  |  1KB  |  23 lines

  1. #!/bin/sh                                                                      
  2. ###############################################################################
  3. # editfile.sh                                                                 #
  4. # Script demonstruje vyuziti spec. sekvenci pro lokalni editaci souboru       # 
  5. # z Unixu.                                                                    #
  6. ###############################################################################
  7.                                                                                
  8.                                                                                
  9. if [ "$OSTYPE" = "Linux" ]; then                                               
  10.   INTPR="-e"                                                                   
  11.   SAT="@"                                                                      
  12. else                                                                           
  13.   INTPR=""                                                                     
  14.   SAT=""                                                                       
  15. fi                                                                             
  16.  
  17. echo $INTPR "\033]"$SAT"ftpdown.bat*2waupfd*$1@"
  18. read  a b 
  19. echo $INTPR "\033]"$SAT"notepad.exe*3wd*$1@"
  20. read a b 
  21. echo $INTPR "\033]"$SAT"ftpup.bat*2waupd*$1@"
  22. read a b 
  23.