dtb trinity
trinity commented on issue bonsai/harakit#77 2024-03-28 06:53:37 -06:00
Internationalization for non-OS error messages

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…

trinity commented on pull request bonsai/harakit#86 2024-03-27 10:58:17 -06:00
docs: fixed formatting of many manpages

Nul bytes; "nul" as in ASCII NUL, as in the zero byte ('\0').

trinity commented on pull request bonsai/harakit#86 2024-03-27 10:58:17 -06:00
docs: fixed formatting of many manpages

-S only configures the output.

trinity commented on pull request bonsai/harakit#86 2024-03-27 10:58:17 -06:00
docs: fixed formatting of many manpages

Or by default.

trinity commented on pull request bonsai/harakit#86 2024-03-27 10:58:17 -06:00
docs: fixed formatting of many manpages

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.

trinity commented on pull request bonsai/harakit#86 2024-03-27 10:58:17 -06:00
docs: fixed formatting of many manpages

"-" will use standard input or standard output.

trinity commented on pull request bonsai/harakit#86 2024-03-27 10:58:17 -06:00
docs: fixed formatting of many manpages

"similar functionality".

trinity suggested changes for bonsai/harakit#86 2024-03-27 10:58:17 -06:00
docs: fixed formatting of many manpages

Just some nitpicks and one goof on my end.

trinity commented on pull request bonsai/harakit#86 2024-03-27 08:20:06 -06:00
docs: fixed formatting of many manpages

See src/dj.c:370 which is the only thing that happens when the debug level is greater than 2 (the default).

Here's…

trinity commented on pull request bonsai/harakit#86 2024-03-27 07:52:27 -06:00
docs: fixed formatting of many manpages

See src/intcmp.c:62:

	do{	r = c;
		c = strtol(argv[i], &argv[i], 10);
		if(*argv[i] != '\0' 
trinity commented on pull request bonsai/harakit#86 2024-03-27 07:37:45 -06:00
docs: fixed formatting of many manpages

Huh. Now that you mention it, I can't either.

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

Against... each other?

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

I think we can remove this as I am probably the only one that used isvalue.

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

Unicode is a proper noun.

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

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).

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

- can be used to mean standard input or standard output. This may be noted elsewhere but is relevant here as well.

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

Causes dj to give failed reads or writes a second try.

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

If standard input is used, the bytes are read and discarded.

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

It should be mentioned that -q and -d respectively decrement and increment the debug level of the program.

trinity commented on pull request bonsai/harakit#86 2024-03-26 22:53:17 -06:00
docs: fixed formatting of many manpages

"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!).