# |
Date |
Size |
|
Editor |
Comment |
Action |
54 |
2025-01-23 23:08:52 |
10845 |
to previous |
81 |
Fox typo |
view |
53 |
2025-01-23 23:07:28 |
10844 |
to previous |
81 |
Add comment above [[ ]] example |
view |
52 |
2024-12-29 05:24:29 |
10821 |
to previous |
larryv |
updated for POSIX.1-2024 |
view |
51 |
2022-05-09 13:49:40 |
10768 |
to previous |
27 |
Fix grammar mistake and clarify |
view |
50 |
2020-10-15 12:33:59 |
10736 |
to previous |
StephaneChazelas |
no, [[ can't be said to be "just" a builtin in busybox see [[ a && b ]] for instance. It's still special syntax. |
view |
49 |
2020-10-15 11:48:08 |
10770 |
to previous |
geirha |
busybox's [[ is just a test builtin |
view |
48 |
2020-10-15 11:37:59 |
10631 |
to previous |
StephaneChazelas |
|
view |
47 |
2018-06-06 09:10:21 |
10446 |
to previous |
geirha |
Undo damage from wysiwyg editor |
view |
46 |
2018-06-05 21:36:37 |
10448 |
to previous |
176 |
The actual changes appeared between 2.02-alpha1 and 2.01.1, see http://git.savannah.gnu.org/cgit/bash.git/diff/CHANGES?id=cce855bc5b117cb7ae70064131120687bc69fac0 (search for [[, for instance) |
view |
45 |
2017-04-21 20:54:41 |
10405 |
to previous |
user18 |
|
view |
44 |
2016-07-31 14:22:17 |
10371 |
to previous |
ormaaj |
More on when [ should be preferred. |
view |
43 |
2016-07-29 07:27:22 |
9432 |
to previous |
geirha |
skweek pointed out a couple of improvements |
view |
42 |
2016-07-28 21:43:49 |
9423 |
to previous |
geirha |
and apparently curfile and prevfile was confusing names |
view |
41 |
2016-07-28 21:26:56 |
9433 |
to previous |
geirha |
Changing the -nt example so it doesn't require knowing intricate details on how arrays work. |
view |
40 |
2016-04-19 20:08:03 |
9421 |
to previous |
x4db43440 |
Fixing the fix ... problem was a language problem, not a logic problem. |
view |
39 |
2016-04-19 20:03:53 |
9422 |
to previous |
x4db43440 |
Fixing logic of example for operator ">" |
view |
38 |
2015-11-24 07:13:10 |
9422 |
to previous |
BinaryZebra |
Correct quoting of echo's |
view |
37 |
2015-07-30 17:23:03 |
9422 |
to previous |
216 |
use fixed-width font for some code |
view |
36 |
2015-06-01 12:32:22 |
9200 |
to previous |
geirha |
bashfaq is picky about whitespace |
view |
35 |
2015-05-29 05:53:45 |
9201 |
to previous |
ip68-4-231-113 |
|
view |
34 |
2014-08-04 12:00:59 |
9200 |
to previous |
GreyCat |
spam |
view |
33 |
2014-08-04 10:11:34 |
597 |
to previous |
ARosas |
|
view |
32 |
2014-06-30 21:51:30 |
9200 |
to previous |
GreyCat |
accidental whitespace? |
view |
31 |
2014-06-30 15:30:54 |
9201 |
to previous |
130 |
|
view |
30 |
2013-11-01 15:47:00 |
9200 |
to previous |
109 |
igli: Use = in [[ consistent with description and other uses |
view |
29 |
2013-07-26 22:56:12 |
9201 |
to previous |
StephaneChazelas |
some clarifications, corrections |
view |
28 |
2013-01-29 01:39:25 |
9021 |
to previous |
ormaaj |
some cleanups |
view |
27 |
2013-01-24 23:31:57 |
9129 |
to previous |
ChandraRavoori |
|
view |
26 |
2012-05-27 19:22:57 |
9128 |
to previous |
cpc18-rdng20-2-0-cust501 |
|
view |
25 |
2012-01-09 08:01:06 |
9129 |
to previous |
ormaaj |
changed my mind. rm complicated example. |
view |
24 |
2012-01-07 20:46:33 |
9097 |
to previous |
ormaaj |
Clarify. Demonstrate magic error handling property. |
view |
23 |
2011-12-06 19:34:49 |
7247 |
to previous |
ormaaj |
Theory for geeks. |
view |
22 |
2011-12-05 21:53:07 |
5840 |
to previous |
GreyCat |
conditional evaluation vs grouping; clarify what exactly is portable |
view |
21 |
2011-12-05 16:13:00 |
4951 |
to previous |
geirha |
Added parenthesis to the table |
view |
20 |
2011-12-01 17:14:16 |
4789 |
to previous |
GordonDavisson |
Added examples for or (||) and negation (!) |
view |
19 |
2011-12-01 16:38:02 |
4675 |
to previous |
GordonDavisson |
Separated string and integer comparisons (e.g. [[ 10 -gt 5 ]] but [[ 10 < 5 ]], and [[ 5 -eq 05 ]] but [[ 5 != 05 ]]) |
view |
18 |
2011-10-24 21:02:52 |
4431 |
to previous |
GreyCat |
there is no "decimal comparison" in [[. [[ $a > $b ]] does a STRING comparison. Try [[ 20.3 > 7.4 ]] and see. |
view |
17 |
2011-10-24 19:05:15 |
4828 |
to previous |
service |
|
view |
16 |
2011-10-24 19:02:58 |
4794 |
to previous |
service |
|
view |
15 |
2011-10-24 19:01:16 |
4786 |
to previous |
service |
|
view |
14 |
2010-12-28 17:52:09 |
4053 |
to previous |
GreyCat |
[[ locale ordering. fix link to guide chapter. |
view |
13 |
2009-12-30 18:36:26 |
3707 |
to previous |
MatthiasPopp |
|
view |
12 |
2009-02-06 03:52:55 |
3686 |
to previous |
GreyCat |
a few little clarifications |
view |
11 |
2008-11-22 14:09:00 |
3550 |
to previous |
localhost |
converted to 1.6 markup |
view |
10 |
2008-06-08 08:48:22 |
3549 |
to previous |
59 |
|
view |
9 |
2008-05-16 18:48:53 |
3546 |
to previous |
GreyCat |
clean up |
view |
8 |
2008-03-04 18:32:42 |
3873 |
to previous |
MrIgli |
Minor: should be ! -e for 'directory entry does not exist'; prefer = to == in [[ for consistency with script in channel/on wiki |
view |
7 |
2008-01-08 13:53:06 |
3871 |
to previous |
Lhunath |
Linky to Bash Guide. |
view |
6 |
2007-11-04 02:23:38 |
3772 |
to previous |
cntcnhbas01dhcp1-a88 |
[[ is not POSIX |
view |
5 |
2007-09-19 03:54:08 |
3793 |
to previous |
TheBonsai |
lexicographically comparison IS possible with classic test, you just need to quote the operators |
view |
4 |
2007-08-30 02:53:52 |
3819 |
to previous |
GreyCat |
one typo, a few minor changes |
view |
3 |
2007-05-09 16:19:30 |
3856 |
to previous |
GreyCat |
some clean-up; one example was reversed, and table syntax changed slightly in moin 1.5 apparently |
view |
2 |
2007-05-09 14:50:40 |
3785 |
to previous |
redondos |
fixed typo |
view |
1 |
2007-05-02 23:19:34 |
3784 |
|
redondos |
|
view |