Hi Jan,
On Wed, Dec 23, 2009 at 10:52 PM PST, Jan Schampera wrote:
JS>
JS>
JS> Mun schrieb:
JS>
JS> > nounset on
JS>
JS> Something sets -u in your startup scripts (or in the script or whatever)
That's it! I'm not sure why I had nounset being turned on in my
.bash_profile, but there i
Mun schrieb:
> nounset on
Something sets -u in your startup scripts (or in the script or whatever)
Hi,
Thanks for your replies.
Please see my comments below.
On Wed, Dec 23, 2009 at 05:30 PM PST, Matthew wrote:
MW>
MW>
MW> Mun wrote:
MW> > I am moving from ksh93 to bash and have a question regarding the usage
MW> > of ${parameter:-word} parameter expansion.
MW> >
MW> > In ksh, I use ${*:-.}
On Dec 23, 6:51 pm, Mun wrote:
> Hi,
>
> I am moving from ksh93 to bash and have a question regarding the usage
> of ${parameter:-word} parameter expansion.
>
> In ksh, I use ${*:-.} as an argument to commands. For example:
>
> function ll
> {
> ls --color -Flv ${*:-.}
> }
>
> This
Mun wrote:
I am moving from ksh93 to bash and have a question regarding the usage
of ${parameter:-word} parameter expansion.
In ksh, I use ${*:-.} as an argument to commands. For example:
function ll
{
ls --color -Flv ${*:-.}
}
This technique passes '.' as an arg to 'ls' if
On Wednesday 23 December 2009 19:51:02 Mun wrote:
> I am moving from ksh93 to bash and have a question regarding the usage
> of ${parameter:-word} parameter expansion.
>
> In ksh, I use ${*:-.} as an argument to commands. For example:
>
>function ll
>{
> ls --color -Flv ${*:-.}
>