Re: Capturing DCL output in symbol

Liste des GroupesRevenir à co vms 
Sujet : Re: Capturing DCL output in symbol
De : mike (at) *nospam* rechtman.com (Henry Crun)
Groupes : comp.os.vms
Date : 10. May 2025, 06:04:57
Autres entêtes
Message-ID : <m8853pFs0l3U1@mid.individual.net>
References : 1 2
User-Agent : Mozilla Thunderbird
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
HTH
--
-- No Micro$oft products were used in the URLs above, or in preparing this message. Recommended reading:
http://www.catb.org/~esr/faqs/smart-questions.html#befor

Date Sujet#  Auteur
10 May 25 * Capturing DCL output in symbol20David Meyer
10 May 25 +* Re: Capturing DCL output in symbol12David Meyer
10 May 25 i+* Re: Capturing DCL output in symbol6Henry Crun
10 May 25 ii+* Re: Capturing DCL output in symbol3David Meyer
10 May 25 iii`* Re: Capturing DCL output in symbol2Henry Crun
10 May 25 iii `- Re: Capturing DCL output in symbol1David Meyer
10 May 25 ii+- Re: Capturing DCL output in symbol1David Meyer
10 May 25 ii`- Re: Capturing DCL output in symbol1bill
11 May 25 i`* Re: Capturing DCL output in symbol5Craig A. Berry
12 May 25 i +* Re: Capturing DCL output in symbol3bill
12 May 25 i i`* Re: Capturing DCL output in symbol2Craig A. Berry
12 May 25 i i `- Re: Capturing DCL output in symbol1David Meyer
13 May 25 i `- Re: Capturing DCL output in symbol1Arne Vajhøj
11 May 25 +- Re: Capturing DCL output in symbol1David Meyer
13 May 25 +* Re: Capturing DCL output in symbol2Arne Vajhøj
14 May 25 i`- Re: Capturing DCL output in symbol1Robert A. Brooks
14 May 25 `* Re: Capturing DCL output in symbol4Lawrence D'Oliveiro
14 May 25  `* Re: Capturing DCL output in symbol3Arne Vajhøj
14 May 25   +- Re: Capturing DCL output in symbol1Arne Vajhøj
14 May 25   `- Re: Capturing DCL output in symbol1hb0815

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal