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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mgshn

  1. mgshn

    How to determine if a file is open

    Thought I would jump in and explain the confusion about using vi to edit a file and fuser to see if the file being edited is open. The problem is that vi does not keep the file open during the editing session. It creates a copy of the file and uses that for the updates. When you leave vi and...
  2. mgshn

    sed or vi search and replace of octal codes.

    Don't know about the other suggestions but I successfully tested the following: sed 's/\\040/ /g' <infile >newfile Note that the middle of the command is &quot;slash space slash gee

Part and Inventory Search

Back
Top