Late to the question, but don't discount using a simple (pre-formatted)
tag either ... keeps things lined up nicely in a mono-spaced font. I often use this
for short web-ified shell cmd results.
#!/usr/local/bin/perl -w
print "Content-type: text/html\n\n";
our @cmd = `df -sk|fgrep -v nf
Baek, Steve <[EMAIL PROTECTED]> wrote:
:
: I'm trying to break apart the command `df -k` data
: and display it into an html table:
:
: Filesystemkbytesused avail capacity Mounted on
: /dev/dsk/c0t2d0s03008783 83669 2864939 3%/
: /dev/dsk/c0t2d0s34032654 88663
Baek, Steve wrote:
Fellow Perl-Mongers:
I'm trying to break apart the command `df -k` data and display it into an
html table:
Filesystemkbytesused avail capacity Mounted on
/dev/dsk/c0t2d0s03008783 83669 2864939 3%/
/dev/dsk/c0t2d0s34032654 886633 31056952
Fellow Perl-Mongers:
I'm trying to break apart the command `df -k` data and display it into an
html table:
Filesystemkbytesused avail capacity Mounted on
/dev/dsk/c0t2d0s03008783 83669 2864939 3%/
/dev/dsk/c0t2d0s34032654 886633 310569523%/usr
/proc