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

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!sybus.sybus.com!myrddin!palan!tct!chip
  3. From: chip@tct.com (Chip Salzenberg)
  4. Subject: Re: timing piped commands
  5. Message-ID: <2B3758AD.6584@tct.com>
  6. Date: Tue, 22 Dec 1992 18:04:29 GMT
  7. References: <1992Dec19.010201.2100@cs.sfu.ca>
  8. Organization: TC Telemanagement, Clearwater, FL
  9. Lines: 12
  10.  
  11. According to xiaobing@cs.sfu.ca (Xiaobing Chen):
  12. >    % time 'ls -lR | fgrep root'    # failed of course
  13.  
  14. You can get close with
  15.  
  16.     % time sh -c 'ls -lR | fgrep root'
  17.  
  18. -- 
  19. Chip Salzenberg at Teltronics/TCT  <chip@tct.com>, <73717.366@compuserve.com>
  20.   "you make me want to break the laws of time and space / you make me
  21.    want to eat pork / you make me want to staple bagles to my face /
  22.    and remove them with a pitchfork" -- Weird Al Yankovic, "You Make Me"
  23.