Alexandre Duret-Lutz wrote:
Stepan> case $3 in
Stepan> ???*) day=$1;;
Stepan> *) day=$3; shift;;
Stepan> esac
I think so. Can any of you make sure this still work on Darwin?
Works for me.
Peter
--
Peter O'Gorman - http://www.pogma.com
>>> "Stepan" == Stepan Kasal <[EMAIL PROTECTED]> writes:
Stepan> Hello Alexandre,
Stepan> perhaps I'm missing the context in which is mdate-sh executed, but
Stepan> couldn't a file name with a space appear there?
Nope
[...]
Stepan> Wouldn't the following be safer:
Stepan> case $3 in
Stepa
Hello Alexandre,
perhaps I'm missing the context in which is mdate-sh executed, but
couldn't a file name with a space appear there?
On Sun, Feb 06, 2005 at 05:27:35PM +0100, Alexandre Duret-Lutz wrote:
> # On a POSIX system, we should have
> #
> # $# = 5
> # $1 = file size
> # $2 = month
> # $3 =