-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ksh.1 (again) - fix '|' implementation - hard to see - hard to find -- #871
Comments
I can find three vertical-pipe symbols when I run |
I take that back. The raw man page in both ksh93u+ and ksh93v- (on which the current code in this project is based) are identical with respect to this issue. Running both files through So, @aabatpurdue, this appears to be a quirk of your system. Perhaps you are using a CJK or similar locale. But the ksh man page source is fundamentally the same between now and the last public release. And looking at both man page source files I see exactly the same discrepancy between the number of vertical bars I can find after running the file through |
Looking at the man page source it appears the three places I can see a literal vertical-bar in the |
@krader1961 - Hmmm. On Cygwin I just tried again using a July 27 clone and the As far as I know, I have done nothing exotic. Most all of everything is default. I am using Unfortunately, without the patch that still leaves a man page that will have similar problems if the user does not have the locale set properly. And to get personal - punched cards? You must be almost as old as I am (:-}). I sure wasted a lot of paper and cardboard back in those days. |
That implies there is a problem with the locale subsystem on your platform. As the C/POSIX locale should be the default locale if no locale environment vars (e.g., Yes, I'm a grey beard. I started programming in high school in 1977 and used both model 33 KSR teletype for learning BASIC then punched cards for FORTRAN. I was still working with punch cards (albeit not very much) in the early 1980's. |
I believe that the default locale is utf8 for Cygwin. I think I read that somewhere. Unfortunately, some processes think utf8 and others think C. Shouldn't use this for interpersonal communication but don't have an email address for you. I was a graduate student in Engineering Geology at Purdue in 1967 when one of my advisors suggested that I take a beginning FORTRAN programming course. Boy, talk about love at first bite. I then graduated to assembly language and that knowledge of assembly language is what eventually got me a job as a systems administrator (called a pud programmer back then) with the Research Computing group at Purdue. I held that job in various guises from 1974 to 2012. FWIW - I also got my MS degree. |
I'm going to close this as a duplicate of #507 since we have embarked on the task of converting all documentation to reStructuredText + Sphinx format. That makes this issue moot. |
Most of these fixes are for typos and extra whitespace at the end of lines. These are the notable changes: - Fixed a compatibility issue with how asterisks are displayed using certain fonts. Bug report: att#764 - Fixed a bug in the man page that caused searches for the '|' character to fail. Bug report: att#871 - Removed a duplicate description of 'set -B' from the man page. Bug report: att#789 - Added documentation for options missing from the ksh man page (applies to 'hist -N', 'sleep -s', 'whence -q' and many of ulimit's options). Bug reports: att#948 att#503 (comment) att#507 (comment) - Applied the following ksh2020 man page fixes: att#351 att#352 - Fixed a minor GCC -Wformat warning in procopen.c by changing NiL to NULL.
Most of these fixes are for typos and extra whitespace at the end of lines. These are the notable changes: - Fixed a compatibility issue with how asterisks are displayed using certain fonts. Bug report: att#764 - Fixed a bug in the man page that caused searches for the '|' character to fail. Bug report: att#871 - Removed a duplicate description of 'set -B' from the man page. Bug report: att#789 - Added documentation for options missing from the ksh man page (applies to 'hist -N', 'sleep -s', 'whence -q' and many of ulimit's options). Bug reports: att#948 att#503 (comment) att#507 (comment) - Applied the following ksh2020 man page fixes: att#351 att#352 - Fixed a minor GCC -Wformat warning in procopen.c by changing a sentinel NULL.
Most of these fixes are for typos and extra whitespace at the end of lines. These are the notable changes: - Fixed a compatibility issue with how asterisks are displayed using certain fonts. Bug report: att#764 - Fixed a bug in the man page that caused searches for the '|' character to fail. Bug report: att#871 - Removed a duplicate description of 'set -B' from the man page. Bug report: att#789 - Added documentation for options missing from the ksh man page (applies to 'hist -N', 'sleep -s', 'whence -q' and many of ulimit's options). Bug reports: att#948 att#503 (comment) att#507 (comment) - Applied the following ksh2020 man page fixes: att#351 att#352 - Fixed a minor GCC -Wformat warning in procopen.c by changing a sentinel NULL.
Most of these fixes are for typos and extra whitespace at the end of lines. These are the notable changes: - Fixed a compatibility issue with how asterisks are displayed using certain fonts. Bug report: att#764 - Fixed a bug in the man page that caused searches for the '|' character to fail. Bug report: att#871 - Removed a duplicate description of 'set -B' from the man page. Bug report: att#789 - Added documentation for options missing from the ksh man page (applies to 'hist -N', 'sleep -s', 'whence -q' and many of ulimit's options). Bug reports: att#948 att#503 (comment) att#507 (comment) - Applied the following ksh2020 man page fixes: att#351 att#352 - Fixed a minor GCC -Wformat warning in procopen.c by changing a sentinel NULL.
Most of these fixes are for typos and extra whitespace at the end of lines. These are the notable changes: - Fixed a compatibility issue with how asterisks are displayed using certain fonts. Bug report: att#764 - Fixed a bug in the man page that caused searches for the '|' character to fail. Bug report: att#871 - Removed a duplicate description of 'set -B' from the man page. Bug report: att#789 - Added documentation for options missing from the ksh man page (applies to 'hist -N', 'sleep -s', 'whence -q' and many of ulimit's options). Bug reports: att#948 att#503 (comment) att#507 (comment) - Applied the following ksh2020 documentation fixes: att#351 att#352 - Fixed a minor GCC -Wformat warning in procopen.c by changing a sentinel NULL.
Most of these fixes are for typos and extra whitespace at the end of lines. These are the notable changes: - Fixed a compatibility issue with how asterisks are displayed using certain fonts. Bug report: att#764 - Fixed a bug in the man page that caused searches for the '|' character to fail. Bug report: att#871 - Removed a duplicate description of 'set -B' from the man page. Bug report: att#789 - Added documentation for options missing from the ksh man page (applies to 'hist -N', 'sleep -s', 'whence -q' and many of ulimit's options). Bug reports: att#948 att#503 (comment) att#507 (comment) - Applied the following ksh2020 documentation fixes: att#351 att#352 - Fixed a minor GCC -Wformat warning in procopen.c by changing a sentinel to NULL.
Most of these fixes are for typos and extra whitespace at the end of lines. These are the notable changes: - Fixed a compatibility issue with how asterisks are displayed using certain fonts. Bug report: att#764 - Fixed a bug in the man page that caused searches for the '|' character to fail. Bug report: att#871 - Removed a duplicate description of 'set -B' from the man page. Bug report: att#789 - Added documentation for options missing from the ksh man page (applies to 'hist -N', 'sleep -s', 'whence -q' and many of ulimit's options). Bug reports: att#948 att#503 (comment) att#507 (comment) - Applied the following ksh2020 documentation fixes: att#351 att#352 - Fixed a minor GCC -Wformat warning in procopen.c by changing a sentinel to NULL.
Description of problem:
I did a
man path/ksh.1
and then searched for the | character. Couldn't find even one. Upon examination, I found that \(bv was being used for |. Changed them to an explicit |. groff_char(7) indicates that is the way to go. There are also several \| instances but I was unsure what they were being used for so I left them. There are several |\|| instances that are displayed as || and I did not check to see if I could find them as || in the man page.Fixed one typo also. There is a second one in that typo's vicinity but, of course, I lost its position (:@{).
Ksh version:
September 3rd clone.
How reproducible:
n/a
Steps to reproduce:
man path/ksh.1
Actual results:
Could't find |.
Expected results:
Could find |.
Additional info:
Oops forgot to point to this patch kshman2_patch.txt
The text was updated successfully, but these errors were encountered: