#1
  1. No Profile Picture
    Dinesh_P_V
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    India
    Posts
    259
    Rep Power
    0

    Can we create a file that starts with hyphen?


    Hello all,
    I created a file using cat > -
    How can I view it

    Thanks & Regards,
    Murugesan
    Last edited by murugesan; December 1st, 2003 at 05:33 AM.
    Dinesh_P_V
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    121
    Rep Power
    12
    The secret is "./-" so something like...
    more ./-
    cat ./-
    etc...
  4. #3
  5. No Profile Picture
    Dinesh_P_V
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    India
    Posts
    259
    Rep Power
    0
    Hello Perderabo,
    Thanks for the reply. I found the answer yesterday but forgot to post. Any how thanks for the reply.

    Regards,
    Murugesan
    Dinesh_P_V

IMN logo majestic logo threadwatch logo seochat tools logo