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:

grep - command option differences (CrCh145)

CMD Impacts

Problem description

Some Tru64 UNIX grep functionality does not exist on HP-UX.

The -p option that displays the entire paragraph is supported on Tru64 UNIX, but is not available on HP-UX.

The -y option, which is the same as the -i option, is supported on Tru64 UNIX, but is not available on HP-UX. The -i option is available on HP-UX.


UNIX Command Optionsgrep:-p UNIX Command Optionsgrep:-y      

See also

Solution description

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

Consider replacing references to the -y option with the -i option.

See also

Problem summary

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