| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| To: | cygwin AT cygwin DOT com |
| From: | zzapper <david AT tvis DOT co DOT uk> |
| Subject: | Re: How to delete rogue nul files |
| Date: | Wed, 21 Jul 2004 18:47:12 +0100 |
| Lines: | 21 |
| Message-ID: | <fratf0hl2ldqphnuvuj1s8f7kn56l59hjf@4ax.com> |
| References: | <gd5tf09ne640a4hbd1gqracolb3u45jks7 AT 4ax DOT com> <87smblfezy DOT fsf AT offby1 DOT atm01 DOT sea DOT blarg DOT net> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| X-Gmane-NNTP-Posting-Host: | cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com |
| X-Newsreader: | Forte Free Agent 1.93/32.576 English (American) |
| X-IsSubscribed: | yes |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |