How to delete rogue nul files

zzapper david@tvis.co.uk
Wed Jul 21 17:55:00 GMT 2004


On Wed, 21 Jul 2004 10:26:41 -0700,  wrote:

Eric I tried

#!/usr/bin/env perl

my $filename='nul';
if (unlink $filename) {
print "Removed $filename.\n";
} else {
warn "Can't unlink $filename: $!";
}

Said it had deleted  file but that was lie!!

zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list