Skip to content

Commit

Permalink
echo1
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Sep 25, 2024
1 parent e4c13c2 commit f24102e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test_common.in
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,15 @@ export HOME
fi
fi

# OS/X apparently has no echo -n option, so fake it
echon() { echo "$@" | tr -d '\r\n' ; }
# OS/X and windows apparently have no echo -n option, so fake it
if test "x$FP_ISMSVC" = xyes || test "x$FP_ISOSX" = xyes ; then
#echon() { echo "$@" | tr -d '\r\n' ; }
echon() {
echo "$@" | tr -d '\r\n'
}
else
alias echon='echo -n'
fi

# Test for filter availability
avail() {
Expand Down

0 comments on commit f24102e

Please sign in to comment.