home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / 19133 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.3 KB  |  41 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!enterpoop.mit.edu!ira.uka.de!math.fu-berlin.de!umn.edu!pebi
  3. From: pebi@aem.umn.edu (Peter A. Bidian)
  4. Subject: colrm
  5. Message-ID: <pebi.728082884@zephyr.aem.umn.edu>
  6. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  7. Nntp-Posting-Host: zephyr.aem.umn.edu
  8. Organization: University of Minnesota
  9. Date: Tue, 26 Jan 1993 21:14:44 GMT
  10. Lines: 29
  11.  
  12.  
  13. Hi!
  14.  
  15. I have a quick question. Maybe that hasn't to do with the IRIS itself
  16. but it occurs on an Iris, so maybe someone can help. 
  17.  
  18. On a Sun I have a command colrm, that allows me to delete the characters
  19. up to a certain position. On the Iris this doesn't work. It says
  20. 'Command not found'. Do you know what an equivalent command would be?
  21.  
  22. The concrete example is:
  23.  
  24.     set prompt="`hostname|colrm 3`> "
  25.  
  26. I want to have only the first two characters from the hostname as a prompt.
  27.  
  28. Thanks,
  29.  
  30. Peter
  31.  
  32. PS Please answer by mail!
  33.  
  34.  
  35.                                                                        
  36. ==========================================================================
  37. Peter Bidian                    Internet: pebi@aem.umn.edu
  38. Dept. of Aerospace Eng.                Bitnet:    AE02022@UMNACVX
  39. University of Minnesota                phone:      (612) 625-1346
  40. ==========================================================================
  41.