Hacker News new | ask | show | jobs
by lottin 3205 days ago
You're mistaken. Bash functions and unix commands return an exit status (an integer), never text.
1 comments

That's for status, not data. A time in bash is a set of characters, not a time.
All the shell does is allow the user to redirect input and output streams to/from system commands. Whether these commands output/read text or binary data or both is irrelevant from the shell's standpoint.