Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Issue with resolving paths with zsh using \0 in variables



On Jun 14, 11:40pm, Eric Cook wrote:
}
} On 06/14/2017 07:02 PM, Bart Schaefer wrote:
} 
} > -- probably is a bug, just not the bug you think it is; the error should
} > be that "subdir\0" is an illegal file name, rather than terminating the
} > path at the nul and botching the redirection.
}
} When the expansion is quoted, you do get the error that you think it
} should have.

No, I don't:

torch% echo "hi" > "sub$(cat location)/myfile"
zsh: is a directory: subdir^@/myfile



Messages sorted by: Reverse Date, Date, Thread, Author