|
From: | Eric Blake |
Subject: | Re: [Help-bash] which file in bash source code (tarball) contain a print output function |
Date: | Tue, 20 Mar 2012 14:45:10 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
On 03/20/2012 02:32 PM, Greg Wooledge wrote: > This should be: > > function echo { > command echo "$@" | /home/scripts/dictionaryScript > } 'function' is a bashism; I would recommend sticking to the POSIX syntax of: echo () { command echo "$@" | /home/scripts/dictionaryScript } -- Eric Blake address@hidden +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |