[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maximum limit of pipes in a single command ?
From: |
Keshetti Mahesh |
Subject: |
Re: Maximum limit of pipes in a single command ? |
Date: |
Fri, 29 Aug 2008 09:45:31 +0530 |
> For what is worth, on my system (bash 3.2.33(1)-release) I can have 3332
> pipes before bash gives an error. I used this command:
>
Thanks Dave for informing.
>
> Why do you want to know?
>
I have a bash script which replaces all tokens in a large with an
identifier (an integer) by doing 'sed'
in a loop. I modified the script a little bit to concatenate all
"s/<orig_token>/<new_token>" using pipes and
ran single 'sed' at the end. But its not working. Thats why I want to
know how many pipes can I open
through a single command. Also, I have tried concatenated the replace
commands using ";". Even
that is not working.
-Mahesh