# |
Date |
Size |
|
Editor |
Comment |
Action |
471 |
2016-03-30 02:06:52 |
56490 |
to previous |
aftr-5-146-249-61 |
This simply isn't true - '==' works in '['! |
view |
470 |
2016-03-08 05:41:15 |
56730 |
to previous |
ool-457d9675 |
emphasize "for x;do" more in example 24 |
view |
469 |
2016-03-02 08:11:54 |
56652 |
to previous |
lmcb-76 |
Added a comment about using find for pitfall 1. bolded the so whats the right way to do it. |
view |
468 |
2016-01-18 13:03:44 |
56502 |
to previous |
StephaneChazelas |
|
view |
467 |
2016-01-18 13:02:01 |
56497 |
to previous |
StephaneChazelas |
|
view |
466 |
2016-01-18 12:50:50 |
56163 |
to previous |
StephaneChazelas |
Mention that it also concerns symlinks to inaccessible files. |
view |
465 |
2016-01-18 12:44:39 |
56026 |
to previous |
StephaneChazelas |
errors on stderr |
view |
464 |
2016-01-11 21:25:12 |
56022 |
to previous |
GreyCat |
not perfectly... |
view |
463 |
2015-12-24 00:38:26 |
56024 |
to previous |
GreyCat |
((foo > 7)) and [[ foo -gt 7 ]] are both *correct*, in both bash and ksh. Try 'em. |
view |
462 |
2015-12-23 17:30:55 |
56026 |
to previous |
38 |
Adds missing $ signs in first part of Pitfall 7. |
view |
461 |
2015-11-26 15:34:38 |
56024 |
to previous |
GreyCat |
Completely incorrect assertion. Try this: var="-n"; echo "$var" Even if your assertion WERE true for bash >= n we would still have to mark it a pitfall for other shells/versions. |
view |
460 |
2015-11-26 08:18:12 |
55716 |
to previous |
pool-173-61-210-188 |
Removed claim that echo can't safely display a variable like var="-n Text". As of bash 4.1.7, echo $var _will_ interpret the leading -n as a flag, but echo "$var" will print exactly what's expected. |
view |
459 |
2015-11-22 21:25:54 |
56024 |
to previous |
GreyCat |
ssh (or ffmpeg) only running once in a while read loop is FAQ 89 |
view |
458 |
2015-11-22 20:48:03 |
56519 |
to previous |
199 |
|
view |
457 |
2015-09-02 15:13:49 |
56024 |
to previous |
GreyCat |
Put the UMQ right up top. Change some wording. |
view |
456 |
2015-09-02 14:47:54 |
55095 |
to previous |
GreyCat |
no, IFS=$'\n' won't work either |
view |
455 |
2015-09-02 13:05:50 |
54761 |
to previous |
cpc38-dudl11-2-0-cust78 |
|
view |
454 |
2015-08-18 08:42:11 |
54695 |
to previous |
geirha |
The description of how sed works, and even the proposed solution is wrong. |
view |
453 |
2015-08-17 23:23:13 |
55177 |
to previous |
pool-100-32-136-77 |
added pitfal on using sed to grab values from stream |
view |
452 |
2015-08-13 11:55:05 |
54695 |
to previous |
GreyCat |
No, it really was pitfall #2. Not #3. But screw it. Just put English words directly in the comment. |
view |
451 |
2015-08-13 02:32:38 |
54693 |
to previous |
llua |
|
view |
450 |
2015-04-18 22:02:23 |
54627 |
to previous |
GreyCat |
IFS=, read -ra fields <<< "$csv_line" |
view |
449 |
2015-04-18 21:51:18 |
53375 |
to previous |
GreyCat |
fix anchors |
view |
448 |
2014-11-02 11:37:32 |
53423 |
to previous |
vil69-1-82-67-51-185 |
|
view |
447 |
2014-10-10 12:10:04 |
53354 |
to previous |
pgas |
|
view |
446 |
2014-09-22 18:02:34 |
53099 |
to previous |
freedom2 |
|
view |
445 |
2014-07-05 09:08:40 |
52949 |
to previous |
MikeJonkmans |
added some words on `]` |
view |
444 |
2014-06-28 13:44:22 |
52712 |
to previous |
ormaaj |
Don't use which(1). Since [ is usually builtin, which will lie to you. |
view |
443 |
2014-06-27 14:53:19 |
52718 |
to previous |
gbibp9ph1--blueice3n7 |
|
view |
442 |
2014-06-25 20:05:28 |
52658 |
to previous |
ormaaj |
mksh now supports pipefail. |
view |
441 |
2014-06-02 14:56:14 |
52590 |
to previous |
GreyCat |
y=$(( array[$x] )) code injection |
view |
440 |
2014-04-06 16:42:55 |
51679 |
to previous |
212 |
typo fixed |
view |
439 |
2014-03-27 12:12:34 |
51680 |
to previous |
GreyCat |
indentation in PF 4 |
view |
438 |
2014-01-24 21:17:15 |
51667 |
to previous |
geirha |
just testing what the gui editor would do |
view |
437 |
2014-01-24 21:15:01 |
51739 |
to previous |
geirha |
|
view |
436 |
2014-01-24 21:08:49 |
51667 |
to previous |
GreyCat |
Please don't put blank lines between Anchor and question. Greybot parses this, and those break it. |
view |
435 |
2014-01-21 13:47:04 |
51741 |
to previous |
GreyCat |
|
view |
434 |
2014-01-21 13:44:49 |
51736 |
to previous |
GreyCat |
remove set -e stuff; I merged it into FAQ 105 |
view |
433 |
2014-01-21 11:40:30 |
52200 |
to previous |
mx1 |
|
view |
432 |
2014-01-07 18:22:44 |
51764 |
to previous |
StephaneChazelas |
removed note about quote nesting for backticks which is incorrect, add missing -P and -- for cd and dirname |
view |
431 |
2014-01-07 18:17:14 |
51877 |
to previous |
StephaneChazelas |
adding missing quotes |
view |
430 |
2013-12-16 16:46:51 |
51867 |
to previous |
94 |
Ever heard of the ext4 data loss "bug"? |
view |
429 |
2013-10-18 15:45:47 |
51740 |
to previous |
GreyCat |
PF35: same issue with [[ $foo = "glob" ]] |
view |
428 |
2013-10-13 05:41:43 |
51499 |
to previous |
76-10-140-160 |
added missing quotes around possible GLOB |
view |
427 |
2013-08-05 00:51:47 |
51456 |
to previous |
shmdmzpr03-ext |
|
view |
426 |
2013-07-03 12:33:03 |
51467 |
to previous |
fran |
Don't break out of loop in case a file has been removed before it is processed. |
view |
425 |
2013-06-06 10:52:15 |
51464 |
to previous |
host223-59-dynamic |
|
view |
424 |
2013-04-18 05:49:06 |
51457 |
to previous |
geirha |
Revert to revision 422. |
view |
423 |
2013-04-17 12:23:17 |
51458 |
to previous |
92 |
|
view |
422 |
2013-04-04 22:45:26 |
51457 |
to previous |
GreyCat |
Variables in a math context DON'T require a $ to be expanded. That was kinda the point of the "Works, but most will consider it wrong" comment. |
view |