Re: Capturing DCL output in symbol

Liste des GroupesRevenir à co vms 
Sujet : Re: Capturing DCL output in symbol
De : bill.gunshannon (at) *nospam* gmail.com (bill)
Groupes : comp.os.vms
Date : 10. May 2025, 13:22:30
Autres entêtes
Message-ID : <m88uo6FqnmiU1@mid.individual.net>
References : 1 2 3
User-Agent : Mozilla Thunderbird
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

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