From the description of the "lha p" command it appears like its purpose is purely to print content of an archive to stdout. However - to my surprise - there seem to be ways to create directory with it, which I think is a bug.
E.g. creating an archive with a symlink and passing that to lha p will create that symlink:
ln -s x y
lha a test.lha y
rm y
lha p test.lha
# symlink y appears, which shouldn't happen
From the description of the "lha p" command it appears like its purpose is purely to print content of an archive to stdout. However - to my surprise - there seem to be ways to create directory with it, which I think is a bug.
E.g. creating an archive with a symlink and passing that to lha p will create that symlink: