DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: I know!

  1. #1
    Join Date
    Feb 2001
    Posts
    51

    Talking

    K, this is not Oracle related, but I'm pretty sure you guys can help.

    it involves VI(Unix)

    I have a file that contain alot of *

    I want to search and removed that *

    how do I do so, in Vi?


    thanks in advance,

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    :%s/*//g
    Jeff Hunter

  3. #3
    Join Date
    Feb 2001
    Posts
    203
    ofter you open the file
    shift :1,$s/*//g

    then save it( shift :wq)
    sree

  4. #4
    Join Date
    Feb 2001
    Posts
    51

    failed

    I got:
    Substitute pattern match failed


  5. #5
    Join Date
    Feb 2001
    Posts
    203
    ijojj888***,..,***
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    :1,$s/*//g

    sree

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width