I have to parse a file with many regular expressions. I would like to do that with a concatenation of sed ‘replace’ commands. So the question is how many sed commands, at maximum, i can concatenate in a bash pipe?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I know, there is no limit on the number of pipes, as the commands are simply executed one after the other. The only limit would be the quantity of data passed in through the pipe, or the “Pipe Buffer Limit.”
See here for more details: https://unix.stackexchange.com/questions/11946/how-big-is-the-pipe-buffer