On 30 April 2017 at 15:01, Bjørn Forsman <bjorn.fors...@gmail.com> wrote: > Hi all, > > I'm stuck trying to pass $'\t' to bash via Nix multi-line strings: > > nix-repl> ''cut -d $'\t' -f 1'' > error: syntax error, unexpected $undefined, expecting IND_STR or > DOLLAR_CURLY or IND_STRING_CLOSE, at (string):1:10
Oh, it was only missing double single-quotes before the dollar sign. What tripped me was that the documentation says ${ is special in strings, not $'. Best regards, Bjørn Forsman _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev