On 06/13/16 03:06, Jonathan Callen wrote:
On 06/12/2016 11:54 AM, Andrew Lowe wrote:
On 06/12/16 23:07, Andrew Lowe wrote:
On 06/12/16 22:43, Alan McKinnon wrote:
On 12/06/2016 16:33, Nico Verrijdt wrote:
Hi Andrew,

2016-06-12 16:26 GMT+02:00 Andrew Lowe <a...@wht.com.au
<mailto:a...@wht.com.au>>:

    Hi all,
             A bit off topic here, but there are plenty of people who
    seem to know their shells back to front so here goes.

[snip]
...
...
[snip]


A better function for the same (that also doesn't loop forever because
the function might be calling itself):

npp() {
    command npp "$@" &
}

This allows any number of arguments to be passed, instead of "exactly
one" and allows filenames containing spaces, etc. to be passed correctly.


Thanks, that's a nice little tweak.

        Andrew

Reply via email to