Guy Taylor <[EMAIL PROTECTED]> uttered the following thing: > > cat /dev/null > /$foo where $foo = file > > its hacky but it works :) or just: > $file the redirect under most shells truncates a file if there's nothing to the left of it. -- BB - Random Network Person -- SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au To unsubscribe send email to [EMAIL PROTECTED] with unsubscribe in the text
- [SLUG] ANNOUNCEMENT: Red Hat jobs in Brisbane, Australia , ... Van Dung Ly
- Re: [SLUG] ANNOUNCEMENT: Red Hat jobs in Brisbane, Aus... Ian Ward
- [SLUG] Clear file Shrestha
- Re: [SLUG] Clear file Guy Taylor
- Re: [SLUG] Clear fileRe: [SLUG] Clear fil... Ben Buxton
- Re: [SLUG] Clear fileRe: [SLUG] Clear fil... Ben Buxton
- Re: [SLUG] Clear file Angus Lees
- Re: [SLUG] Clear file CaT
- Re: [SLUG] Clear file CaT
- Re: [SLUG] Clear file Alexander Else
- Re: [SLUG] Clear file Guy Taylor
- Re: [SLUG] Clear fileRe: [SLUG] Clear fil... Guy Taylor
- Re: [SLUG] Clear fileRe: [SLUG] Clear fil... Alexander Else
- Re: [SLUG] Clear fileRe: [SLUG] Clear file Guy Taylor
