[Gllug] Tab-complete and cursor keys in SSH sessions?

Tethys sta296 at astradyne.co.uk
Tue Sep 29 23:59:25 UTC 2009


--------

Nix writes:

>The Fates insisted that you introduce that typo, didn't they? (I'll
>admit that you spend a lot of time hanging out here.)

Bah! Rule 1 of the Internet. Any time you mention pedantry, you're
bound to have cocked something up yourself. As I proved there. Errr,
it was deliberate, honest :-)

>But still, for me, cat(1)'s primary use is to cat a
>single file into something for which a separate process doing the
>catting is required: e.g.
>
>cat blah | while read -r FOO; do ...; done
>
>Use <, and you'll only get the first line.

Errr... no:

	while read -r FOO; do ...; done < blah

works just fine on every line in blah. Also, upper case variable
names. Tsk, tsk. That's bad form.

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list