in reply to Deleting an Odd Filename

I'm inferring (from the examples) you're attempting to use the system built-in.

As it's just a one-off, why not drop into the shell (it _is_ allowed ;-) and since I'll bet you've only one file whose name starts with the string popdatck, try rm popdtack*

Either way, AFAICT, (one of the) the problems with both attempts is that there is a space you appear to have omitted to escape e.g.

'rm popdatck \. \$dept'
should read
'rm popdatck\ \. \$dept'
...or, you could just let the shell do the work and use tab completion...

Update

Added tab completion - thanx to jethro for the singularly timely reminder

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^2: Deleting an Odd Filename
by Anonymous Monk on Jun 01, 2009 at 10:11 UTC
    Or you can quote rm 'popdatck . $dept'

      That would be the most natural solution, IMHO (when using the shell).  Like Perl, most Unix shells interpolate variables ($dept) in double-quoted strings, while leaving them alone when single quotes are being used.

      The only case I'm aware of where this doesn't work (except when having single quotes in the name itself) is when you have a leading dash in the file name, like '-foo':

      $ rm '-foo' rm: invalid option -- o Try `rm ./-foo' to remove the file `-foo'. Try `rm --help' for more information.

      But, as you can see, rm is being helpful (at least some versions of it on Linux) by suggesting the workaround for this special case, i.e. rm ./-foo