J
Josef 'Jupp' Schugt
Hi!
To write to (mbox) file I use "File.open('/var/spool/mail/jupp')". To
write to a (MDA) stream I would use "File.popen('/usr/bin/fetchmail')".
Is there an *existing* means that I can use for both purposes so that I
can code as follows?
SomeClass.open('/var/spool/mail/jupp')
SomeClass.open('| /usr/bin/fetchmail')
Or is there good reason *not* to do that?
Josef 'Jupp' Schugt
To write to (mbox) file I use "File.open('/var/spool/mail/jupp')". To
write to a (MDA) stream I would use "File.popen('/usr/bin/fetchmail')".
Is there an *existing* means that I can use for both purposes so that I
can code as follows?
SomeClass.open('/var/spool/mail/jupp')
SomeClass.open('| /usr/bin/fetchmail')
Or is there good reason *not* to do that?
Josef 'Jupp' Schugt