sed file processing?
Jude DaShiell <[email protected]>
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <[email protected]> |
cut here. #!/usr/local/bin/bash # file: sp.sh grep "^From:" /home/jdashiel/mail/probably-spam | cut -d \ -f 1-8 - >/home/jdashiel/.spamassassin/rf cd /home/jdashiel/.spamassassin sed -e 's/^/blacklist-/' rf cut here. When I run this script, the output sounds exactly as I'd like however the rf file remains untouched. Could that be because the file is in a hidden directory? If so, I can fix that problem. jude <[email protected]>