Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

more - behavior differences; some options unavailable (CrUn273)

CMD Impacts

Problem description

Some more command functionality on Tru64 UNIX differs from HP-UX. In addition, some options are not available on HP-UX.

The more command displays a file one screenful at a time.

The +/pattern option exists on both systems, but the described Tru64 UNIX behavior is different on HP-UX. On Tru64 UNIX, this starts up at the line containing the regular expression pattern. On HP-UX, this starts a listing so that the current position is set to two lines above the line matching the regular expression pattern.

The following options are supported on Tru64 UNIX, but are not available on HP-UX:

  • -N - Suppresses line numbering.

  • -h - Help mode.

  • -q - Requires an explicit quit command, rather than quitting automatically, when the spacebar is hit at the end of file.

  • -r - Ignores most control characters that it does not interpret in some way.


UNIX Command Optionsmore:-h UNIX Command Optionsmore:-N UNIX Command Optionsmore:-q UNIX Command Optionsmore:-r  

See also

Solution description

Review your code and the applicable manpages to determine how to resolve this issue.

See also

Problem summary

classifications source types OS release severity type
CMD Make, Script any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.