Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Posts
    7

    Question Unanswered: How to grep for the values in the variable

    Hi Friends,
    I want to grep for a value that is assigned to variable.

    Please help me to do this.

    Can any one help me by giving a script/command to list the files that are modified/created by the current date.

    It will be more use if any one help me in this regards.

    - Kmrs

  2. #2
    Join Date
    Aug 2004
    Location
    Rome, Italy
    Posts
    81
    Just write this:

    echo $MY_VARIABLE | grep value


    regards

Posting Permissions

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