Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 262,685 of 264,096    |
|    bill to Henry Crun    |
|    Re: Capturing DCL output in symbol    |
|    10 May 25 08:22:30    |
      From: bill.gunshannon@gmail.com              On 5/10/2025 1:04 AM, Henry Crun wrote:       > On 10/05/2025 7:32, David Meyer wrote:       >> I found that one way to do it is to put all the processing that uses the       >> command output inside subshells in the same PIPE command.       >>       >> One shortcoming of this method is that it's very easy to go over the       >> maximum command element length allowed inside the PIPE. For my       >> procedure, I was able to get around this by choosing lexical functions       >> to minimize the length of the PIPE command.       >>       >> Any other way to do this?       >       > try e.g.       > $ count=$( dir *.sh | wc -l )       > $ echo $count       > 25       >              Maybe it's just me, but I don't think that will work in DCL. :-)              bill              --- SoupGate-DOS v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca