Situation: 21 item input file of text lines, no symbols or spaces, no $IFS except standard line separator at end, no lines over about 20 characters. Version of `pr` is 5.2.1

Results: right side column misalign sometimes (see when below). In these cases there is only a tab separator between the columns.

When: problem exists on some terminal sessions and not others, i.e. tty1, etc. but not tty2, etc. A session that fails is consistent, as is one that doesn't. Proved this by running same exact job from all tty's at the same time.

Clue: can be "fixed" by logoff/logon of a terminal session, and after problem 
starts it is consistent.

Analysis: (1) matched environment variables (from `set`) for "good" and "bad" sessions, $TERM is only difference, (2) `type` identifies same `pr` program, (3) cannot find "pr align" in your bug reports.

Thoughts: it is as if running some print option such as -W sets a permanent option flag (something) that is identified by terminal but is not an environment variable output by `set`.



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to