[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reading from external command
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: reading from external command |
Date: |
Thu, 31 Mar 2022 10:44:18 +0200 |
On Thu, Mar 31, 2022 at 10:43 AM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
wrote:
> no idea why there are in my version two 44 exit pids
> maybe chet can clear up in time
>
oh it is per line spawned
sorry
cheers, if it helped any
>
> bash peng ; printf \\n ; cat p ; printf \\n ; cat peng
>
> 2534
> 0
> 41
> 44
> 44
>
> 2535
> 2536
> 2537
>
> #!/bin/bash
>
> printf $BASHPID\\n
>
> >p
> while read -r x ; do
> >/dev/null printf %s\\n <( printf $BASHPID\\n >>p ; exit 44 )
> done < <( printf $BASHPID\\n >>p ; printf shit\\nbla\\n ; exit 41 )
>
> printf $?\\n
>
> while read -r p ; do
> wait $p
> echo $?
> done <p
>
- Re: reading from external command, (continued)
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/30
- Re: reading from external command, Chet Ramey, 2022/03/30
- Re: reading from external command, Peng Yu, 2022/03/30
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/30
- Message not available
- Message not available
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/30
- Re: reading from external command, Lawrence Velázquez, 2022/03/30
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/30
- Re: reading from external command, Peng Yu, 2022/03/30
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/30
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/31
- Re: reading from external command,
Alex fxmbsw7 Ratchev <=
- Re: reading from external command, Chet Ramey, 2022/03/31
- Re: reading from external command, Peng Yu, 2022/03/31
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/31
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/31
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/31
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/31
- Re: reading from external command, Lawrence Velázquez, 2022/03/31
- Re: reading from external command, Peng Yu, 2022/03/31
- Re: reading from external command, Lawrence Velázquez, 2022/03/31
- Re: reading from external command, Alex fxmbsw7 Ratchev, 2022/03/31