On Thu, Jan 24, 2019 at 06:48:31PM -0800, Mike McClain wrote:
> This works as I wish on the CL:
> head -n4 docs/finance/quotes/y_quotes.{csv,bak} |
> awk -F, '{print $1, $2, $6, $7;}'
> When I try to put it in an alias I can't get it right and have tried
> so many combinations of \s and $() that I'm totally befuddled.
Use a function instead.
frobozz() {
head -n4 docs/finance/quotes/y_quotes.{csv,bak} |
awk -F, '{print $1, $2, $6, $7;}'
}