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
» 

DSPP Home

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

critical impact:

test, [, [[ - option unavailable (CrUn354)

CMD Impacts

Problem description

The test command's -e option exists on Tru64 UNIX but not on HP-UX.

Use the following -e option to determine if a file exists:

-e file

This option returns TRUE if file exists.

Identifiers

UNIX Command Options[:-e UNIX Command Options[[:-e UNIX Command Optionstest:-e    

See also

Solution description

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

Consider using the -a option within Korn shell scripts or use the HP-UX POSIX shell, which supports the -e option.

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.