I wonder if the way to configure the padding byte used with synchronization of partial reads to '\0' should be changed from -A to -a ''; that is, -a with an empty but present option argument.
Changing this now won't make much of a difference for existing code; dj(1)'s padding and dd(1p)'s conv=sync are both very rarely used, the dj(1) feature only existing for parity with POSIX.
There's precedent for both uses in other tools.
It may make more conceptual sense that dj -a "\0" works, but it may make less conceptual sense (to a novice) that dj -a '' -i file works but dj -a -i file does not.
Both uses would be treated as special cases in the code.
I'm leaning towards -a '' because I think it makes more sense and removes some clutter from the command synopsis.
I wonder if the way to configure the padding byte used with synchronization of partial reads to `'\0'` should be changed from `-A` to `-a ''`; that is, `-a` with an empty but present option argument.
Changing this now won't make much of a difference for existing code; dj(1)'s padding and dd(1p)'s `conv=sync` are both very rarely used, the dj(1) feature only existing for parity with POSIX.
There's precedent for both uses in other tools.
It may make more conceptual sense that `dj -a "\0"` works, but it may make less conceptual sense (to a novice) that `dj -a '' -i file` works but `dj -a -i file` does not.
Both uses would be treated as special cases in the code.
I'm leaning towards `-a ''` because I think it makes more sense and removes some clutter from the command synopsis.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I wonder if the way to configure the padding byte used with synchronization of partial reads to
'\0'should be changed from-Ato-a ''; that is,-awith an empty but present option argument.Changing this now won't make much of a difference for existing code; dj(1)'s padding and dd(1p)'s
conv=syncare both very rarely used, the dj(1) feature only existing for parity with POSIX.There's precedent for both uses in other tools.
It may make more conceptual sense that
dj -a "\0"works, but it may make less conceptual sense (to a novice) thatdj -a '' -i fileworks butdj -a -i filedoes not.Both uses would be treated as special cases in the code.
I'm leaning towards
-a ''because I think it makes more sense and removes some clutter from the command synopsis.It would not be too hard to make both usages work.
I think this should be up to you.
Decided in #125;
dj -a ''will be the new, only way to specify nul byte alignment padding.