• -e is neat, but too much work
  • changes can be put in a file!
  • ls -al | sed -f ./sample.sed
  • then, you can schedule it, if you like....
  • Replace a line with specific text:
    ls -al | sed -e '/swp$/c\TEMPORARY FILE'
  • ls -al | sed -e'/html$/s/rw-r--r--/644/'
  • NEXT
    PREVIOUS
    Master Index