diff options
Diffstat (limited to 'eshtrans/main.esh')
-rw-r--r-- | eshtrans/main.esh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eshtrans/main.esh b/eshtrans/main.esh index 7e0cb8c..588ca1d 100644 --- a/eshtrans/main.esh +++ b/eshtrans/main.esh @@ -88,10 +88,10 @@ main() fi input="${1}" if [ "x${output}" = 'x-' ]; then - sh_codegen "$(esh_parse "${input}" <"${input}")" + sh_codegen "$(esh_parse "${input}" "$(cat "${input}")")" else - sh_codegen "$(esh_parse "${input}" <"${input}")" \ - >"${output}" + sh_codegen "$(esh_parse "${input}" \ + "$(cat "${input}")")" >"${output}" fi fi } |