I've been interested in GNU gettext(3) which is the GNU solution to localization. [The underscore macro as a shortcut to gettext(3)](http…
Nul bytes; "nul" as in ASCII NUL, as in the zero byte ('\0'
).
I know I corrected this but upon further reflection I have to fix this: -a
opens subsequent outputs for appending, because outputs aren't specified positionally but optionally and therefore invocations like mm -o - -o start -ao append
do open standard output and start
for writing to the start and open append
for appending. I was mistaken.
See src/dj.c:370 which is the only thing that happens when the debug
level is greater than 2
(the default).
Here's…
See src/intcmp.c:62:
do{ r = c;
c = strtol(argv[i], &argv[i], 10);
if(*argv[i] != '\0'
I think we can remove this as I am probably the only one that used isvalue
.
It would make more sense to order the options -ibscaAoBSHqd
in explanation. Input, input options, alightment, output, output options, diagnostic options. Capitals before lowercases is especially confusing in the context of dj(1).
-
can be used to mean standard input or standard output. This may be noted elsewhere but is relevant here as well.
If standard input is used, the bytes are read and discarded.
It should be mentioned that -q
and -d
respectively decrement and increment the debug level of the program.
"its modern use". Its modern use is more as a file utility in some contexts (doas dd of=/root/accessible/only
, dd bs=bytes count=1
) and a disk utility (doas dd of=/dev/disk
, dd if=/dev/hd bs=512 count=1 of=disktable
) in other contexts - distinguished by user stress. dd(1p) is no more a disk utility than any other UNIX utility and probably not even a great tool for the job (a 512B buffer sucks for disk image writing - it's way too small!).