# |
Date |
Size |
|
Editor |
Comment |
Action |
62 |
2025-04-23 20:13:20 |
11721 |
to previous |
GreyCat |
Pathnames separated by a space in a string variable are not correct. Breaks if $HOME contains a space for example. |
view |
61 |
2025-04-23 16:04:28 |
11751 |
to previous |
81 |
(conf): rm extra "fi" |
view |
60 |
2025-04-23 16:03:08 |
11755 |
to previous |
81 |
heneralize conf file code with for loop |
view |
59 |
2025-01-25 21:58:48 |
11721 |
to previous |
GreyCat |
Fix wrapper example. |
view |
58 |
2025-01-24 03:21:57 |
11722 |
to previous |
larryv |
copyedit |
view |
57 |
2025-01-24 03:12:49 |
11714 |
to previous |
larryv |
hardened `cd` invocations |
view |
56 |
2025-01-24 02:55:33 |
11687 |
to previous |
larryv |
split independent examples into separate code blocks |
view |
55 |
2025-01-24 01:50:08 |
11683 |
to previous |
larryv |
labeled example code as POSIX or bash |
view |
54 |
2025-01-24 01:48:00 |
11624 |
to previous |
larryv |
fixed example to be fully POSIX conformant |
view |
53 |
2025-01-23 23:29:18 |
11629 |
to previous |
emanuele6 |
exit $? => exit; that edit makes no sense, exit without arguments uses $? by default (just like return), and using $? instead of "$?" just makes the code break if IFS contains a number |
view |
52 |
2025-01-23 22:58:20 |
11632 |
to previous |
81 |
prefer POSIX [ ] instead of bash [[ ]] when applicaple |
view |
51 |
2025-01-23 22:53:10 |
11640 |
to previous |
81 |
use cd exit code $? |
view |
50 |
2025-01-23 22:49:45 |
11637 |
to previous |
81 |
Prefer POSIX [ ] instead of bash [[ ]] when not necessary |
view |
49 |
2025-01-23 22:47:42 |
11641 |
to previous |
81 |
Prefer generic POSIX (.) instead of bash "source" |
view |
48 |
2024-12-31 06:04:25 |
11651 |
to previous |
larryv |
updated for POSIX.1-2024 |
view |
47 |
2022-03-16 22:42:19 |
11541 |
to previous |
larryv |
avoid echo-ing an arbitrary argument |
view |
46 |
2022-02-16 22:50:37 |
11532 |
to previous |
larryv |
add anchors for easier linking |
view |
45 |
2022-02-14 00:22:44 |
11411 |
to previous |
larryv |
refine examples so "bundledir" is never empty |
view |
44 |
2022-02-13 03:07:00 |
11404 |
to previous |
larryv |
try to handle more edge cases in examples |
view |
43 |
2022-02-13 00:23:14 |
11202 |
to previous |
larryv |
reformat examples for legibility |
view |
42 |
2022-02-12 22:56:28 |
11162 |
to previous |
larryv |
add highlighting to code examples, switch from {{{...}}} to `...` |
view |
41 |
2019-06-03 14:26:04 |
11340 |
to previous |
151 |
+ link |
view |
40 |
2018-10-02 22:24:50 |
11299 |
to previous |
88-97-36-5 |
Handle if script resides '/' dir. |
view |
39 |
2016-08-31 15:42:18 |
11299 |
to previous |
GreyCat |
plan9 paper moved; use a mirror :( |
view |
38 |
2014-11-18 15:03:05 |
11293 |
to previous |
Lhunath |
double negation bug. |
view |
37 |
2013-11-19 19:49:38 |
11293 |
to previous |
Lhunath |
wrapper |
view |
36 |
2013-11-19 19:28:33 |
10817 |
to previous |
Lhunath |
Reword the titles a little. |
view |
35 |
2013-10-24 17:49:15 |
10292 |
to previous |
Lhunath |
be more specific than "something" |
view |
34 |
2013-10-24 17:07:00 |
10319 |
to previous |
GreyCat |
don't cd without checking for errors |
view |
33 |
2013-10-24 17:01:30 |
10279 |
to previous |
GreyCat |
Revert to revision 31. |
view |
32 |
2013-10-24 16:38:35 |
11130 |
to previous |
Lhunath |
space |
view |
31 |
2013-10-24 15:40:18 |
10279 |
to previous |
Lhunath |
space |
view |
30 |
2013-10-24 15:39:23 |
10204 |
to previous |
Lhunath |
usage |
view |
29 |
2013-10-24 15:11:46 |
9466 |
to previous |
bzq-79-183-141-44 |
Edited by nylon100 |
view |
28 |
2013-07-04 14:00:26 |
9465 |
to previous |
Lhunath |
|
view |
27 |
2013-07-03 17:32:52 |
9465 |
to previous |
GreyCat |
More stuff. |
view |
26 |
2013-07-03 16:50:27 |
8399 |
to previous |
Lhunath |
$0 |
view |
25 |
2013-07-03 16:46:37 |
7897 |
to previous |
Lhunath |
|
view |
24 |
2013-07-03 16:44:11 |
7823 |
to previous |
Lhunath |
|
view |
23 |
2013-07-03 16:39:54 |
7761 |
to previous |
Lhunath |
This article really needed to be simplified and oriented toward solutions rather than problems. Also, stop recommending $0! Bash's BASH_SOURCE is superior in every way, even if it's not perfect. |
view |
22 |
2013-06-17 18:24:30 |
7771 |
to previous |
GreyCat |
|
view |
21 |
2011-08-22 18:38:21 |
7473 |
to previous |
GreyCat |
remove spurious blank line |
view |
20 |
2011-08-20 23:58:58 |
7475 |
to previous |
GreyCat |
Bourne shell only has `...` not $(...) |
view |
19 |
2011-08-20 22:43:04 |
7476 |
to previous |
dslb-084-056-243-161 |
|
view |
18 |
2011-08-20 22:36:09 |
7476 |
to previous |
dslb-084-056-243-161 |
|
view |
17 |
2011-08-20 22:26:56 |
7467 |
to previous |
dslb-084-056-243-161 |
|
view |
16 |
2011-02-15 14:06:32 |
7466 |
to previous |
Lhunath |
This article should be revised with BASH_SOURCE in mind. |
view |
15 |
2010-07-14 12:16:52 |
7280 |
to previous |
GreyCat |
move that Linux/Bash example to a more reasonable place |
view |
14 |
2010-07-14 07:05:02 |
7268 |
to previous |
geirha |
Removed empty line at top. |
view |
13 |
2010-07-14 02:41:09 |
7270 |
to previous |
87 |
|
view |
12 |
2010-05-26 20:15:28 |
7109 |
to previous |
GreyCat |
moin 1.9.x #!highlight thingy, so it doesn't eat the shebang |
view |
11 |
2009-12-30 18:28:22 |
7095 |
to previous |
MatthiasPopp |
|
view |
10 |
2009-09-27 07:21:25 |
7072 |
to previous |
p5B094FD0 |
crosslinked FAQ 73 (parameter expansion) -- thebonsai |
view |
9 |
2009-07-03 09:03:32 |
6986 |
to previous |
localhost |
./script is a common invocation that should be accounted for |
view |
8 |
2008-11-22 14:09:26 |
6977 |
to previous |
localhost |
converted to 1.6 markup |
view |
7 |
2008-05-16 16:50:45 |
6975 |
to previous |
GreyCat |
clean up |
view |
6 |
2007-10-15 02:28:34 |
6967 |
to previous |
GreyCat |
simplify |
view |
5 |
2007-10-14 11:22:56 |
6984 |
to previous |
redondos |
Fixed spelling mistakes. |
view |
4 |
2007-10-14 11:12:34 |
6927 |
to previous |
p549571AF |
Cosmetic fixes to script. |
view |
3 |
2007-10-14 11:07:54 |
7083 |
to previous |
p549571AF |
Previous script was broken, it wasn't taking into account directories in the path with spaces in them. Fixed this by modifying the script to only use bash built-ins. |
view |
2 |
2007-08-30 02:34:54 |
6774 |
to previous |
GreyCat |
lots of rearrangement, some clarifications |
view |
1 |
2007-05-02 23:16:02 |
5100 |
|
redondos |
|
view |