procmail
[Top] [All Lists]

procmail and stdin from /proc

2004-01-25 16:43:33
Can anyone explain why this rc snippet:

FOO=`< /proc/loadavg`
BAR=`cat /proc/loadavg`

yields:

FOO=
BAR=0.03 0.02 0.01 1/100 1234

on linux? I was hoping to skip the extra process startup and context 
switch.

http://pm-doc.sourceforge.net/pm-tips-body.html#about_useless_use_of_cat

../C


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>