Re: Weird interaction of xargs with complete ( shell builtin )

2016-10-27 Thread Assaf Gordon
Hello, On 10/27/2016 07:01 AM, Abhijith Sethuraj wrote: cat file1 | xargs -I %% complete -A alias %% xargs: complete: No such file or directory As you,ve said, "complete" is a shell built-in (and even specific to bash). xargs tries to run a program/script called 'complete' and fails. To run a

Weird interaction of xargs with complete ( shell builtin )

2016-10-27 Thread Abhijith Sethuraj
Hi! Suppose I have a file(say, file1) with the following contents, abcd defg hijk and I'm trying to 'cat' the file and pass it to xargs so that xargs can invoke 'complete'. But, I'm getting the following error. cat file1 | xargs -I %% complete -A alias %% xargs: complete: No such file or direct