I'm trying to read multiple lines into a variable - How can I have ctrl-D
end the input? Right now I end input by typing ctrl-v-d.
(Part of the case statement) :
2 ) echo "Type some notes. To end input, type Ctrl-V-D "
while [ "$line" != ^D ]
echo "$line" >> $notefile
login name: L1-A
In real life: Peter Delevoryas
In any other life: a cheap imitation