You're viewing a comment by freenode/yitz_ and its responses.

freenode/yitz_ Permalink
April 28, 2010, 04:24

The ( ) force a new subshell, where { } doesn't.
The && test seems pointless. I'd use ;
nicemount() is a function, not an alias. It could be made an alias.
The echo stuff can be put into awk with a BEGIN{} block and a print.

mount | awk 'BEGIN{ print "DEVICE PATH TYPE FLAGS" } { print $1, $3, $5, $6 }' | column -t

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "floppy_212": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.