home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5172 < prev    next >
Encoding:
Text File  |  1992-12-28  |  740 b   |  25 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!psinntp!ptsys1!mliu
  3. From: mliu@pt.com (Fred Liu)
  4. Subject: Handling of '&' by shell
  5. Message-ID: <1992Dec28.162641.11402@pt.com>
  6. Organization: Performance Technologies, Incorporated
  7. Date: Mon, 28 Dec 1992 16:26:41 GMT
  8. Lines: 15
  9.  
  10. I am just wondering why the shell creates a background
  11. process first if the '&' is at the end of a command
  12. line.  It would be nice to have the shell check the
  13. command first and then fire up the process.  What do
  14. you think of the following conversation:
  15.  
  16.     $ abcd &
  17.     [3] 1234
  18.     $ abcd: Command not found.
  19.     <Return>
  20.     [3]    Exit 1            abcd
  21.  
  22. -- 
  23. Fred Liu, Performance Technologies Incorporated        mliu@pt.com
  24. 315 Science Parkway, Rochester, New York 14620        uupsi!ptsys1!mliu
  25.