[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comparison failure
From: |
Andreas Schwab |
Subject: |
Re: Comparison failure |
Date: |
Thu, 10 Jan 2008 18:32:11 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Frans de Boer <frans@fransdb.nl> writes:
> You where both right. It's the '<' versus -lt. I tend to avoid -lt
> because I always run into errors using this. Beside, in previous
> versions of Bash it did not give me this problem.
AFAICS all versions of bash that implement [[ ]] have always behaved
that way, which is consistent with ksh.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: Comparison failure, Pierre Gaston, 2008/01/10