Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Nevets1106

    sed Command Troubles

    I couldn't get this sed issue worked out however, I found a way to work around it. I learned of the grep -v option which acts as a reverse grep. I used this to remove unwanted directories as I was doing my snapshot comparison. So now I have code listed below. Thanks for everyones help. #Create...
  2. Nevets1106

    sed Command Troubles

    I ls the working directory and snapshot exists.
  3. Nevets1106

    sed Command Troubles

    By the way, I am working in a Sun Solaris Unix environment.
  4. Nevets1106

    sed Command Troubles

    When I use the command below, I'm recieving "Can't open shanpshot" even though snapshot has -rwxrwxrwx- permissions. sed '/\/tmp/ d' snapshot I guess the sed command is being processed correctly, but what else could be causing "Can't open shanpshot" error?
  5. Nevets1106

    sed Command Troubles

    As suggested I tried both statements below. Neither has worked. sed ';/tmp;d' snapshot sed ':/tmp:d' snapshot
  6. Nevets1106

    sed Command Troubles

    I have a file that contains a snapshot of all the current files and directories. I am trying to remove several directories from this snapshot. What I have is: sed '/\/tmp/ d' snapshot The issue is that the sed command uses the same delimeter as the directory /. I've tried setting the...

Part and Inventory Search

Back
Top