SHOWCDF(1) — HP-UX
Series 300 Diskless Only
NAME
showcdf − show the actual path name matched for a CDF
SYNOPSIS
showcdf [ −cs ] name ...
DESCRIPTION
Showcdf accepts from the standard input a list of names and displays on the standard output the actual path name matched for each name. If any name is a CDF, the actual file matched for that name is displayed. If any name is not a CDF, the name is simply displayed.
Options
−c Suppress the printing of non-CDF files. Only files whose path contains a CDF will be displayed.
−s Suppress all output. This option is useful when testing for the exit value from showcdf.
RETURN VALUE
The exit values are:
0 if at least one CDF is specified.
1 if no CDFs are specified.
2 if an error occurs (for example, a file is inaccessible).
EXAMPLES
The following example shows the output of showcdf when applied to the files /etc/inittab and /usr/adm/sulog, which are CDFs and /etc/passwd, which is not a CDF:
% showcdf /etc/inittab /usr/adm/sulog /etc/passwd
/etc/inittab+/donald
/usr/adm+/donald/sulog
/etc/passwd
% showcdf -c /etc/inittab /usr/adm/sulog /etc/passwd
/etc/inittab+/donald
/usr/adm+/donald/sulog
AUTHOR
Showcdf was developed by HP.
SEE ALSO
Hewlett-Packard Company — May 11, 2021