lkml.org 
[lkml]   [1998]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Directory name problem...
Hi (Water) Mark.

> % Already tried, and he's not interested, but I did find out what script
> % he's using...

> % Q> #!/bin/sh
> % Q> XYZZY="`find / -name core`"
> % Q> for LOOP in `find $XYZZY | sort -ru` ; do
> % Q> rm -fr $LOOP
> % Q> done

> <sigh>

> mkdir -p "evil /how/did/this/get/deleted/I/needed/that /core"

That's given me an idea: How about the following command:

Q> mkdir -p '~/dud ; echo > $0 ; # /core'

Wonder what that will do...

Best wishes from Riley.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.770 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site