[wplug] Fortune in Signature

Gentgeen gentgeen at linuxmail.org
Mon Aug 7 15:44:18 EDT 2006


Dear List,

I am playing around with my work signature, and right now I have the
following script that will run (via cron) once a day.  

run command "/home/kevin/bin/for_sig > /home/kevin/.signature"

Script:


#!/bin/bash
echo "Kevin D. Squire                      | 1847 Fairland Street"
echo "Instructional Technology Coordinator | Pittsburgh PA, 15210"
echo "PA Virtual Charter School            | Office: 412-207-7086"
echo " "
/usr/games/fortune -n 80 -s



What I want is for any fortune that is longer then 60 lines to wrap. 
how would I add that?


-- 
http://gentgeen.homelinux.org

#############################################################
 Associate yourself with men of good quality if you esteem    
 your own reputation; for 'tis better to be alone then in bad 
 company.        - George Washington, Rules of Civility


More information about the wplug mailing list