|
From: | Linda Walsh |
Subject: | Re: Expanding aliases to full command before execution |
Date: | Fri, 06 Apr 2012 17:38:28 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 |
Greg Wooledge wrote:
On Wed, Apr 04, 2012 at 04:08:04PM -0700, Linda Walsh wrote:function ll { ... }Just for the record, a one-line function definition requires a ; before the closing curly brace. ll() { ls -l "$@";}
--- Can you say 'irrelevant detail'? I was discussing an idea -- not focusing on details of syntax. Are you also correcting people's spelling -- "for the record"? If this was to be a reference for a record -- an audience I didn't write for, then you screwed up. It is not true that you must have a semicolon before the closing curly brace. An ampersand will do just as well if one wants to use such.
[Prev in Thread] | Current Thread | [Next in Thread] |