Re removing hyphens from filenames
Jamie Nicholson
jamie.nicholson at gmail.com
Thu Jul 12 12:15:59 BST 2007
>Oh that's *easy*! And there's only /one/ way to do it ...
You reckon? I've found it defers from UNIX / shell, it's abit of a pain
though. Try single quotes to start off i.e. rm 'file-name'.
You might then try escaping the hypen though I don't think that work rm
file\-name, or then if all else fails try a rm -i *.
That could possibly get it :) But like a previous poster said why the heck
would people be asking this here anyway.
On 7/12/07, london.pm-request at london.pm.org <london.pm-request at london.pm.org>
wrote:
>
> Send london.pm mailing list submissions to
> london.pm at london.pm.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://london.pm.org/mailman/listinfo/london.pm
> or, via email, send a message with subject or body 'help' to
> london.pm-request at london.pm.org
>
> You can reach the person managing the list at
> london.pm-owner at london.pm.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of london.pm digest..."
>
>
> Today's Topics:
>
> 1. RE: needs some advice - is london ok for Perl jobs or other
> cities. (Robin Barker)
> 2. Re: needs some advice - is london ok for Perl jobs or other
> cities. (Pedro Figueiredo)
> 3. Re: Exception Handling (Matt Sergeant)
> 4. Re: Wikipedia on handheld devices (Smylers)
> 5. Re: needs some advice - is london ok for Perl jobs or other
> cities. (muppet)
> 6. "Too clever by half", or, "Look ma, no hands!" (Chris Devers)
> 7. Re: (void) "Too clever by half", or, "Look ma, no hands!"
> (Chris Devers)
> 8. Re: needs some advice - is london ok for Perl jobs or other
> cities. (Matt Wilson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Jul 2007 17:46:49 +0100
> From: "Robin Barker" <Robin.Barker at npl.co.uk>
> Subject: RE: needs some advice - is london ok for Perl jobs or other
> cities.
> To: "London.pm Perl M[ou]ngers" <london.pm at london.pm.org>
> Message-ID:
> <2C2E01334A940D4792B3E115F95B7226C9D12C at exchsvr1.npl.ad.local>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> > Too many threads, pl. provide something meaningful.
> > Pl. am not offending anyone,
>
> Crime is worse in big cities rather than small cities or towns or the
> countryside.
>
> London is a big city, most other big cities are in the "industrial"
> "north" of England:
> from Birmingham/Leicester/Nottingham northwards to Newcastle (the one in
> the North :-)).
>
> Nevertheless many places in these big cities (London especially, perhaps)
> are peaceful,
> affluent and wonderful places. Literally, you pay your money and makes
> your choice.
>
> Hope this helps.
>
> Robin
>
> -------------------------------------------------------------------
> This e-mail and any attachments may contain confidential and/or
> privileged material; it is for the intended addressee(s) only.
> If you are not a named addressee, you must not use, retain or
> disclose such information.
>
> NPL Management Ltd cannot guarantee that the e-mail or any
> attachments are free from viruses.
>
> NPL Management Ltd. Registered in England and Wales. No: 2937881
> Registered Office: Serco House, 16 Bartley Wood Business Park,
> Hook, Hampshire, United Kingdom RG27 9UY
> -------------------------------------------------------------------
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 11 Jul 2007 18:11:31 +0100
> From: "Pedro Figueiredo" <me at pedrofigueiredo.org>
> Subject: Re: needs some advice - is london ok for Perl jobs or other
> cities.
> To: "London.pm Perl M[ou]ngers" <london.pm at london.pm.org>
> Message-ID:
> <9563a32d0707111011u5237868j56ba48ddd28427c0 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 11/07/07, abhishek jain <mail at webbee.biz> wrote:
> > >
> > Too many threads, pl. provide something meaning ful.
> > Pl. am not offending anyone,
>
> don't ever ask how to remove a file with a hyphen in its name.
> --
> http://pedrofigueiredo.org/
> bgp is for those who can't keep it static long enough
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 11 Jul 2007 19:30:47 +0100 (BST)
> From: Matt Sergeant <msergeant at messagelabs.com>
> Subject: Re: Exception Handling
> To: "London.pm Perl M\\[ou\\]ngers" <london.pm at london.pm.org>
> Message-ID: <Pine.LNX.4.64.0707111930280.30509 at localhost.localdomain>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Wed, 11 Jul 2007, Dave Cross wrote:
>
> > We're currently contemplating changing the exception handling for the
> project
> > I'm maintaining and Mark's talk would be a good introduction to the
> issues we
> > need to consider. Unfortunately, it doesn't seem to be on the tech talk
> page
> > on the web site[2].
> >
> > So, does anyone have either a) a link to that talk or b) an interesting
> > opinion on which exception handlers I should be investigating?
>
> I try not to give opinions on which exception handling modules to use, but
> I do have a couple of talks on this:
>
> http://axkit.org/docs/presentations/tpc2002/exceptions.pdf
> http://axkit.org/docs/presentations/tpc2001/exceptions.axp/a.pdf
>
> (the first one is better than the second).
>
> Matt.
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 11 Jul 2007 23:20:49 +0100
> From: Smylers <Smylers at stripey.com>
> Subject: Re: Wikipedia on handheld devices
> To: london.pm at london.pm.org
> Message-ID: <20070711222049.GB8865 at stripey.com>
> Content-Type: text/plain; charset=us-ascii
>
> David Cantrell writes:
>
> > On Thu, Jul 05, 2007 at 01:56:03AM +0100, Smylers wrote:
> >
> > > David Cantrell writes:
> > >
> > > > This was prompted by Wikipedia being impossible to use on my Treo
> > > > because the page layout assumes you have a large screen.
> > >
> > > Hmmm, the HTML source of Wikipedia pages seems to include:
> > > <link rel="stylesheet" type="text/css" media="handheld"
> > > href="/skins-1.5/monobook/handheld.css?80" />
> > > So if your Treo is correctly identifying itself as a handheld device
> > > then it should get that version rather than the one for full-sized
> > > screens.
>
> I got that wrong (sorry). It's the client, not the server, which picks
> which CSS is used. The device should know that because it's handheld
> it's better downloading and using the style-sheet so labelled rather
> than the standard one.
>
> > If it does, then the stylesheet is broken, cos it's unusable.
>
> Possibly; I haven't got a suitable gadget for trying it out on, and I'm
> not sufficiently intrigued to bother downloading the CSS and manually
> applying it with a 'normal' browser.
>
> > > > I'm also finding it useful on a desktop because, without all the
> > > > images and the complex page layout, pages load faster.
> > >
> > > Looking at, say:
> > > http://wikiproxy.cantrell.org.uk/?.=Richard+Thompson
> > > It seems quite similar to the effect you get merely by going to the
> > > Wikipedia page then in Firefox choosing [some menus]
> >
> > But I'm not running Firefox on my phone. Nor does any normal person.
>
> Sure. I only mentioned that as a quick way for anybody who happens to
> be using Firefox to see what the page looks like without CSS.
>
> And you do say above you're "also finding it useful on a desktop", where
> it's plausible you're running Firefox.
>
> > > That link explicitly says to preview MySkin on that page (but not on
> > > pages it links to).
> >
> > So not very useful really!
>
> It's useful for providing a link on a mailing list previewing what the
> output is like if you choose that 'skin' -- which is exactly what I was
> using it for!
>
> > And if this was widely known, I would have thought that google would
> > at least have been able to point me at it.
>
> Yeah, I can't remember where I knew this from. I've hacked on a
> MediaWiki installation at work, and now know rather more about it than
> I'd like to. But I agree this kind of thing is far from obvious.
>
> > Also, remember that removing cruft with a stylesheet still downloads
> > the cruft, it just doesn't display it.
>
> That's an excellent point that I hadn't thought of.
>
> Cheers.
>
> Smylers
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 11 Jul 2007 19:39:29 -0400
> From: muppet <scott at asofyet.org>
> Subject: Re: needs some advice - is london ok for Perl jobs or other
> cities.
> To: "London.pm Perl M[ou]ngers" <london.pm at london.pm.org>
> Message-ID: <80B70257-C5A4-4EBD-97D3-43591BC045FF at asofyet.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Jul 11, 2007, at 1:11 PM, Pedro Figueiredo wrote:
>
> > On 11/07/07, abhishek jain <mail at webbee.biz> wrote:
> >> >
> >> Too many threads, pl. provide something meaning ful.
> >> Pl. am not offending anyone,
> >
> > don't ever ask how to remove a file with a hyphen in its name.
>
> Gracious me! How on earth might one do that?!?!
>
> /me runs away
>
> --
> It's all very complicated and would take a scientist to explain it.
> -- MST3K
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 11 Jul 2007 22:08:30 -0400
> From: Chris Devers <cdevers at pobox.com>
> Subject: "Too clever by half", or, "Look ma, no hands!"
> To: void at slab.org, "london.pm Perl M [ou] ngers"
> <london.pm at london.pm.org>, boston perl mongers <
> boston-pm at mail.pm.org>
> Message-ID: <CBCB0496-F7BA-41EA-AFFF-6BF0D8655003 at pobox.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> http://fakesteve.blogspot.com/2007/07/vistas-advanced-speech-
> recognition.html
>
> http://www.youtube.com/watch?v=KyLqUf4cdwc
>
>
> --
> Chris Devers
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 11 Jul 2007 22:13:02 -0400
> From: Chris Devers <cdevers at pobox.com>
> Subject: Re: (void) "Too clever by half", or, "Look ma, no hands!"
> To: void at slab.org
> Cc: boston perl mongers <boston-pm at mail.pm.org>, "london.pm Perl M
> \[ou\] ngers" <london.pm at london.pm.org>
> Message-ID: <F87A0A1E-6C2C-4BFD-B7CD-963E1313492F at pobox.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Sorry if you got that more last one than once, I changed my mind
> about cross-posting it but then, err, hit send before remembering to
> delete the extraneous addresses.
>
> Still though, it's funny stuff. Really.
>
> *ahem*
>
>
> --
> Chris Devers
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 12 Jul 2007 11:09:11 +0100
> From: "Matt Wilson" <codebrewery at gmail.com>
> Subject: Re: needs some advice - is london ok for Perl jobs or other
> cities.
> To: "London.pm Perl M[ou]ngers" <london.pm at london.pm.org>
> Message-ID:
> <9831184e0707120309u4a890e27l368bbfdcab66e936 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 7/11/07, Pedro Figueiredo <me at pedrofigueiredo.org> wrote:
> > On 11/07/07, abhishek jain <mail at webbee.biz> wrote:
> > > >
> > > Too many threads, pl. provide something meaning ful.
> > > Pl. am not offending anyone,
> >
> > don't ever ask how to remove a file with a hyphen in its name.
>
> Oh that's *easy*! And there's only /one/ way to do it ...
>
>
> ------------------------------
>
> _______________________________________________
> london.pm mailing list
> london.pm at london.pm.org
> http://london.pm.org/mailman/listinfo/london.pm
>
>
> End of london.pm Digest, Vol 21, Issue 26
> *****************************************
>
--
Jamie Nicholson
This email message and attachments are confidential to our organisation and
subject to legal privilege. If you have received this email in error,
please advise the sender immediately and destroy the message and any
attachments. If you are not the intended recipient you are notified that any
use, distribution, amendment, copying or any action taken or omitted to be
taken in reliance of this message or attachments is prohibited.
This communication does not designate an information system for the purposes
of the New Zealand Electronic Transaction Act 2002.
More information about the london.pm
mailing list