Bourne
| Ash
| #!
| find
| ARG_MAX
| Shells
| whatshell
| portability
| permissions
| UUOC
| ancient
| -
| Various
| HOME
"$@
"
| echo/printf
| set -e
| test
| tty defs
| tty chars
| $()
vs )
| IFS
| using siginfo
| nanosleep
| line charset
| locale
All the arbitrary stuff, in detail, parts of it just for my own fun, parts may be of general interest.
-
The traditional Bourne shell family.
-
-
The Almquist shell family.
-
-
About the #! mechanism (aka "shebang"),
-
details for various unix flavours.
-
Some notes about
find(1)
-
(not descending into directories, about xargs(1), pattern matching,
"-print", "-ls", and more)
-
About ARG_MAX, the maximum length
of arguments for a process.
-
- System shells on various Unix flavours.
-
- What does
${1+"$@"}
mean? -
and where it is necessary.
-
Some pointers about portable shell programming.
-
-
Special usage of permission bits
-
that is, set uid, set gid, and the sticky bit
-
Useful use of cat(1)
-
contrasting the "useless use of cat award"
-
Some ancient Unix variants running in simh and qemu
-
with example session logs
- Behaviour of echo and printf implementations,
-
availability, portability, some details about escape sequences
-
Some current and historical TTY defaults.
-
You are used to "stty intr" being <CTRL-C> and alike?
-
What happens when typing control characters in a
tty/pty, like
ctrl-h
, ctrl-[
, etc? -
(actually, you're producing the nonprintable "ASCII" characters this way.)
-
"
$()
" command substitution vs.
embedded ")
" and quotes -
Some parser stumble here
-
IFS
handling in various shells -
concerning the special variables
$*
and $@
-
A glance at the three universes in SINIX V5.2.
-
X11 User-low-level configuration.
-
X11- and XTerm resources, libXt translations, xmodmap(1), xev(1),
using special/8bit characters.
-
The 'Alternate Linedrawing Charset',
-
on the occasion of a Usenet discussion. An illustration:
vs.
.
-
-
about nanosleep() - weird behaviour on some Linux:
-
nanosleep returns with EINTR on SIGSTOP/SIGCONT
and this even affects sleep(1) when using
<ctrl-z>
-
using siginfo(5) - on SVR4 related Unix flavours,
-
to find the sender of a signal.
-
w3m, links, lynx, xemacs-w3
- Some screenshots (each about 10-20 kB).
-
You're browsing with a GUI now and always wanted to know how
informative and useful text browsers can look like?
-
creating HTML screenshots of Thomas Dickey's xterm
- including font attributes,
-
a converter script, which handles colors, bold, underlined and
(if you like it illegal) most of the alternate linedrawing character set.
2009-06-01