commit f682d95808044ed639ac667b2c2d9a42c8d9fda0 parent b86af3c5f62349b6ef2b0576500c711b3dbfae54 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 16 Jun 2020 14:04:37 +0200 Print hurlo error to stderr Diffstat:
M | .profile | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.profile b/.profile @@ -116,7 +116,7 @@ alias date-israel='TZ=Israel date' hurlo() { out="${1##*/}" [ -z "$out" ] && out="hurl_out" - [ -f "$out" ] && { printf 'error: %s exists\n' "$out"; return 1; } + [ -f "$out" ] && { printf 'error: %s exists\n' "$out" >&2; return 1; } hurl "$1" > "$out" printf '%s\n' "$out" }