The Computer Oracle

How to write a script that accepts input from a file or from stdin?

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzling Curiosities

--

Chapters
00:00 Question
00:38 Accepted answer (Score 74)
02:09 Answer 2 (Score 15)
02:51 Answer 3 (Score 5)
05:30 Answer 4 (Score 4)
05:52 Thank you

--

Full question
https://superuser.com/questions/747884/h...

Answer 2 links:
[Bash builtins man page]: http://www.gnu.org/software/bash/manual/...
[Bash Hackers]: http://wiki.bash-hackers.org/commands/bu...

Answer 3 links:
[this]: http://tldp.org/LDP/abs/html/parameter-s...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#commandline #bash #stdin

#avk47