Find the answer to your Linux question:
Results 1 to 3 of 3
Guys.. I want to find this... bug unix/configure: where is it,, ??? grep in unix/configure for /etc/.relid and change it from Code: system=MP-RAS-`awk '{print }' /etc/.relid'` ^^^^ to Code: system=MP-RAS-`awk ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    20

    Grep Commands >>

    Guys.. I want to find this... bug

    unix/configure: where is it,, ???

    grep in unix/configure for /etc/.relid and change it from
    Code:
    system=MP-RAS-`awk '{print }' /etc/.relid'`
     ^^^^
    to
    Code:
    system=MP-RAS-`awk '{print }' /etc/.relid`
     ^^^^
    wats the exact command to grep n change this.. ???
    this bug occurs in debian while installing ns2 !! please help me with ur commnads
    Last edited by devils casper; 02-07-2008 at 03:54 PM. Reason: Removed formatting tags.

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    20
    hey... i m sorry...but please heklp me with grep commands

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Maybe you should eb using sed instead of grep. Grep can tell you what line but sed will replace the text.


    sed s/<oldstring>/<newstring>/g' <file>


    Новости IT-технологий - unix.org.ua

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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