On Tue, Sep 6, 2016 at 2:15 PM, Loic Chappaz <[email protected]> wrote:

> Hi Julia users,
>
> I'm trying to replicate the Linux bash command:
>
> cat a b >> c
>
> in Julia, where a, b, c are data files. (I attached sample text files for
> testing) I tried:
>
> run(pipeline(`cat a b`, stdout="c"))
>

It's perfered to just do the IO in julia, if you really want to use julia
as shell script you can do.

``run(pipeline(`cat a b`, stdout=open("c", "a")))``



>
> but this appears to be equivalent to cat a b > c, meaning the file c is
> overwritten. I need to append to c as opposed to overwrtting it.
>
> Thank you for any input and suggestions!
> Loic
>

Reply via email to