Oh dear, that's embarrassing, my ``/tmp`` (and all of ``/``) was full. The problem wasn't ``sed`` but the ``<<<`` I think. I've never seen ``<<<`` before. Most people seem to just ``echo "$2" | ...`` instead.
plowdown works fine now that I've made some space on /tmp Sorry for the fuss. -- Jason -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

