[S]:File name's 1st Char is '-'

From: Peng Wei <pengw_at_astrosv1.ihep.ac.cn>
Date: Fri, 03 Jan 1997 10:22:34 +0800

Thanks to

  Hans Ullitz-Moeller <hum_at_biobase.dk>
 "Muller, Ronald" <Ronald.Muller_at_metrokc.gov>
  alan_at_nabeth.cxo.dec.com
 "Michael A. Crowley" <mcrowley_at_mtholyoke.edu>

My question is:
   There are some file whose name's first character is '-'.
How can I read and delete them?

Answer:
  1. You can put double - (--) before file name to read and delete them.
         e.g.:
           #more -- -u
           #rm -- -u
  2. put ./ as prefix to the file name.
         e.g.:
           #more ./-u
            #rm ./-u

W. Peng
pengw_at_astrosv1.ihep.ac.cn
Received on Fri Jan 03 1997 - 03:33:14 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT