# |
Date |
Size |
|
Editor |
Comment |
Action |
421 |
2013-04-04 12:24:30 |
51459 |
to previous |
95 |
variable require $ prefix |
view |
420 |
2013-03-25 12:48:41 |
51457 |
to previous |
GreyCat |
pf41: (lack of) portability note |
view |
419 |
2013-03-24 11:02:48 |
51419 |
to previous |
ormaaj |
Add crappy array wordsplit abuse to pf 1 |
view |
418 |
2013-03-24 10:47:50 |
51341 |
to previous |
ormaaj |
|
view |
417 |
2013-03-24 10:44:33 |
51332 |
to previous |
ormaaj |
There's nothing wrong with this expression, people just need to be aware of its behavior. |
view |
416 |
2013-02-11 01:26:07 |
50308 |
to previous |
ormaaj |
Had to fix indenting. Also, done through pf 11 |
view |
415 |
2013-02-10 22:24:50 |
49735 |
to previous |
ormaaj |
Copy editing. Pf 1-8 done. Enough for today. |
view |
414 |
2013-02-09 17:32:16 |
46184 |
to previous |
ormaaj |
Buggy solution. Needs either -- or to not to strip the ./. |
view |
413 |
2013-01-27 06:38:12 |
46291 |
to previous |
Lhunath |
nonsense edit. |
view |
412 |
2013-01-27 04:17:04 |
46294 |
to previous |
18 |
|
view |
411 |
2013-01-15 21:19:30 |
46291 |
to previous |
GreyCat |
link to UsingFind in #1 |
view |
410 |
2013-01-03 13:11:40 |
46231 |
to previous |
GreyCat |
simplify |
view |
409 |
2013-01-03 10:11:21 |
46244 |
to previous |
ormaaj |
(($?)) && ... |
view |
408 |
2012-12-20 16:43:27 |
45589 |
to previous |
HSI-KBW-46-223-133-42 |
|
view |
407 |
2012-12-20 16:32:05 |
45565 |
to previous |
HSI-KBW-46-223-133-42 |
|
view |
406 |
2012-09-03 12:30:35 |
45306 |
to previous |
nrbg-4dbe18f3 |
Let's provoke a disaster on Debian too that can be taken seriously. Here, rm * will _always_ (by default) do a rm -i *. (Except for the superuser) |
view |
405 |
2012-07-30 09:49:49 |
45303 |
to previous |
151 |
pitfall 23: exmark='!' ; echo "Hello, world$exmark" |
view |
404 |
2012-07-21 19:36:26 |
45225 |
to previous |
178 |
Mention Substring Expansion for removing first character of a word |
view |
403 |
2012-07-21 19:19:34 |
45157 |
to previous |
178 |
|
view |
402 |
2012-06-28 15:53:52 |
45161 |
to previous |
201 |
We have to be consistent in variable naming conventions. !varcap. |
view |
401 |
2012-04-23 16:41:01 |
45161 |
to previous |
c-71-232-80-14 |
|
view |
400 |
2012-04-04 03:57:57 |
44974 |
to previous |
ormaaj |
2>&1. How'd we go without this so long? |
view |
399 |
2012-04-02 10:10:42 |
43922 |
to previous |
Lhunath |
don't take personal offense, 125, and thanks for the contribution. |
view |
398 |
2012-04-02 09:08:39 |
43955 |
to previous |
125 |
sorry for mistakes ive made. |
view |
397 |
2012-04-02 08:36:10 |
44112 |
to previous |
125 |
|
view |
396 |
2012-04-02 06:45:59 |
43955 |
to previous |
Lhunath |
|
view |
395 |
2012-04-02 06:44:15 |
43955 |
to previous |
Lhunath |
|
view |
394 |
2012-04-02 04:53:54 |
43684 |
to previous |
125 |
|
view |
393 |
2012-04-02 04:51:13 |
43679 |
to previous |
125 |
|
view |
392 |
2012-03-29 20:49:26 |
42242 |
to previous |
ormaaj |
use greycat's version. |
view |
391 |
2012-03-29 20:46:54 |
41881 |
to previous |
ormaaj |
Too long, greycat angry, so move to BraceExpansion |
view |
390 |
2012-03-29 20:45:22 |
42242 |
to previous |
GreyCat |
Strip esoteric crap out of #33 (for i in {1..$n}). If the material is important, please put it on BraceExpansion or in a separate FAQ entry. Removed redundant category tags. |
view |
389 |
2012-03-29 19:32:35 |
44031 |
to previous |
ormaaj |
...and add some workarounds to make it generalize to not only loops. This might be long enough for an FAQ. |
view |
388 |
2012-03-28 00:07:32 |
42503 |
to previous |
ormaaj |
Brace expansion "portability" note. The Bash way isn't entirely "unfortunate". |
view |
387 |
2012-02-22 09:26:34 |
41881 |
to previous |
129 |
"[[ -f $i ]] || continue" changed to '[[ -f "$i" ]] || continue' |
view |
386 |
2011-11-27 02:05:53 |
41879 |
to previous |
184-175-28-167 |
|
view |
385 |
2011-11-08 16:16:20 |
41838 |
to previous |
GreyCat |
answer question in #1 |
view |
384 |
2011-11-08 12:53:12 |
41701 |
to previous |
129 |
|
view |
383 |
2011-09-22 21:51:35 |
41528 |
to previous |
cust |
zsh will accept such syntax too |
view |
382 |
2011-08-21 18:44:50 |
41482 |
to previous |
35 |
|
view |
381 |
2011-08-10 18:07:47 |
41476 |
to previous |
GreyCat |
perl's grep command has nothing to do with variables being lost because they were set in a subshell in a bash script |
view |
380 |
2011-08-10 12:56:49 |
41647 |
to previous |
110-234-19-41 |
|
view |
379 |
2011-07-23 19:55:37 |
41476 |
to previous |
GreyCat |
clean up last part of 19 |
view |
378 |
2011-07-23 19:32:39 |
41632 |
to previous |
GreyCat |
export foo=~/bar (new) and content=$(<file) (cleanup) |
view |
377 |
2011-07-14 15:32:46 |
40878 |
to previous |
GreyCat |
DRLWF |
view |
376 |
2011-06-30 12:42:27 |
40731 |
to previous |
GreyCat |
Simplify. This is not the Guide, nor is it the FAQ. We don't want 100% bulletproof complex code here -- we want things EASY. |
view |
375 |
2011-06-30 12:26:12 |
40943 |
to previous |
74 |
Changed proposed solution for scanning all subdirectories for files as previous one broke if file name contained new line characters. |
view |
374 |
2011-06-21 02:14:39 |
41048 |
to previous |
64 |
#16 I felt quotation marks were necessary. -m |
view |
373 |
2011-03-15 14:12:41 |
41020 |
to previous |
84-73-54-61 |
|
view |
372 |
2011-01-16 01:34:08 |
40507 |
to previous |
S0106002369c5b3ed |
Added second method for iterating through files (works on subtrees) |
view |
371 |
2010-12-14 20:40:43 |
40298 |
to previous |
GreyCat |
[ -n $foo ] or [ -z $foo ] |
view |
370 |
2010-12-07 14:04:55 |
39826 |
to previous |
GreyCat |
links from [[ to FAQ 031 for lazy readers |
view |
369 |
2010-11-08 13:41:39 |
39771 |
to previous |
GreyCat |
changes to #6 |
view |
368 |
2010-10-31 19:25:31 |
39748 |
to previous |
GreyCat |
corrections |
view |
367 |
2010-10-31 17:39:33 |
39193 |
to previous |
a91-155-187-216 |
(17) fix typo: form => from |
view |
366 |
2010-10-31 17:36:16 |
39193 |
to previous |
a91-155-187-216 |
(17) Give example using plain echo with double quotes. |
view |
365 |
2010-10-11 23:33:10 |
39058 |
to previous |
lantea |
give an even better worked example of how things can go wrong in pf 9, and why |
view |
364 |
2010-09-02 12:29:50 |
38796 |
to previous |
GreyCat |
FOR FUCK'S SAKE! THEY ARE *ALL* WRONG! QUIT REMOVING THE EXAMPLES OF THINGS THAT ARE WRONG! |
view |
363 |
2010-09-02 06:07:45 |
38605 |
to previous |
eth595 |
Use superior POSIX command substitution syntax |
view |
362 |
2010-08-28 01:09:00 |
38609 |
to previous |
GreyCat |
set -e stuff, and other low-hanging fruit |
view |
361 |
2010-08-28 00:57:04 |
38561 |
to previous |
GreyCat |
This page shows what NOT to do. The goal here is not to get rid of every backquote. People still WRITE them, and we need to show them being wrong. |
view |
360 |
2010-08-27 23:25:35 |
38308 |
to previous |
eth595 |
Fix reference to command substitution |
view |
359 |
2010-08-27 23:17:38 |
38464 |
to previous |
eth595 |
Use superior POSIX command substitution syntax |
view |
358 |
2010-08-16 14:40:41 |
38458 |
to previous |
GreyCat |
Arguments, not BashArguments |
view |
357 |
2010-08-09 16:08:33 |
38462 |
to previous |
GreyCat |
|
view |
356 |
2010-08-09 16:04:55 |
38462 |
to previous |
GreyCat |
more |
view |
355 |
2010-08-09 15:38:16 |
37398 |
to previous |
GreyCat |
minor clean-up |
view |
354 |
2010-08-09 15:30:49 |
37264 |
to previous |
GreyCat |
[[ $foo = $bar ]] and [[ $foo =~ 'some RE' ]] |
view |
353 |
2010-08-01 00:55:38 |
35994 |
to previous |
GreyCat |
printf > echo -n |
view |
352 |
2010-07-31 16:55:09 |
35848 |
to previous |
p4FD94E44 |
|
view |
351 |
2010-07-28 18:47:07 |
35412 |
to previous |
GreyCat |
for i in {1..$n} |
view |
350 |
2010-07-27 13:29:34 |
35090 |
to previous |
GreyCat |
read $foo |
view |
349 |
2010-07-02 20:00:11 |
34882 |
to previous |
GreyCat |
|
view |
348 |
2010-06-10 12:24:08 |
34889 |
to previous |
GreyCat |
expr?? Come on! Also, when did BashPitfalls become RandomUnixBugs? |
view |
347 |
2010-06-09 22:20:28 |
34291 |
to previous |
ppp118-208-142-229 |
|
view |
346 |
2010-06-05 19:13:07 |
33885 |
to previous |
vpn-2207 |
pgrep without options can match more than what was wanted |
view |
345 |
2010-06-01 00:07:33 |
33756 |
to previous |
theosp |
Spelling mistake corrected |
view |
344 |
2010-05-31 23:02:51 |
33756 |
to previous |
theosp |
Add: ed file <<<"g/d\{0,3\}/s//e/g" fails |
view |
343 |
2010-05-30 19:44:53 |
33272 |
to previous |
theosp |
|
view |
342 |
2010-05-19 20:48:22 |
32882 |
to previous |
GreyCat |
printf "$foo" |
view |
341 |
2010-05-06 22:45:28 |
32530 |
to previous |
GreyCat |
Ugh. |
view |
340 |
2010-05-06 20:58:25 |
31924 |
to previous |
dslb-088-074-023-179 |
Anchor 30, ps params and alternatives added. |
view |
339 |
2010-04-11 16:29:34 |
30784 |
to previous |
JariAalto |
<<EOF: Add example that plain echo command can be used as well |
view |
338 |
2010-03-17 20:16:48 |
30651 |
to previous |
GreyCat |
lots of little things |
view |
337 |
2010-02-01 01:03:40 |
29729 |
to previous |
GreyCat |
it's a command, not an expression |
view |
336 |
2010-01-31 20:59:54 |
29730 |
to previous |
mnch-d9bde64b |
Added an $ in front of the ((foo > 7)) term |
view |
335 |
2010-01-20 21:44:01 |
29729 |
to previous |
GreyCat |
spam |
view |
334 |
2010-01-20 20:40:48 |
29840 |
to previous |
ns2 |
|
view |
333 |
2010-01-20 20:40:02 |
29839 |
to previous |
ns2 |
|
view |
332 |
2009-12-30 13:56:02 |
29729 |
to previous |
206-248-139-163 |
Fixed typo |
view |
331 |
2009-12-30 13:54:40 |
29730 |
to previous |
206-248-139-163 |
It's not echo that's causing the problem; it would happen with any command. |
view |
330 |
2009-05-11 16:01:36 |
29719 |
to previous |
localhost |
Added anchors |
view |
329 |
2009-04-10 14:22:02 |
29208 |
to previous |
GreyCat |
spam |
view |
328 |
2009-04-10 02:11:20 |
553 |
to previous |
91 |
original Index http://irman.si/jetta-commercial-music/swift-d-zire.html Swift d zire Air-Cooled http://balibudgethotels.net/links/carolina-chapter-13-bankruptcy carolina chapter 13 bankruptcy http://c |
view |
327 |
2009-03-30 04:47:23 |
29208 |
to previous |
ip72-219-235-71 |
Bring out the dashed-filename-glob solution |
view |
326 |
2009-03-28 17:43:33 |
28855 |
to previous |
GreyCat |
|
view |
325 |
2009-03-28 08:38:07 |
28775 |
to previous |
localhost |
|
view |
324 |
2009-03-18 17:30:41 |
27723 |
to previous |
localhost |
|
view |
323 |
2009-02-18 16:04:34 |
27305 |
to previous |
GreyCat |
category |
view |
322 |
2009-02-09 23:58:33 |
27282 |
to previous |
GreyCat |
spam |
view |