[wplug] Line-by-line input from stdin, from a bash script ?

Eric Cooper ecc at cmu.edu
Tue Oct 15 12:51:55 EDT 2013


On Mon, Oct 14, 2013 at 12:49:14PM -0400, Pat Barron wrote:
> Does anyone have any favorite methods of doing "line at a time"
> input from stdin, using a bash script?

line=$(head -1)

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the wplug mailing list