Quantcast
Channel: Dammit Jim! » standard input
Browsing latest articles
Browse All 2 View Live

Reading Standard Input in a Bash Shell Script

I guess this is obvious to most people but it took me quite a while to dig it out on the internet. I wanted my bash script to be able to read from standard input like cat sourcefile.txt|bash...

View Article


Tab Indented Standard Input Redirect in Bash

I managed to forget how to redirect standard input (when you want to feed a bunch of lines to a program) in a bash script while still indenting and had to go digging around for it. So I figured I'd...

View Article

Browsing latest articles
Browse All 2 View Live