PDA

View Full Version : terminal help



rattlerviper
August 16th, 2006, 12:33 AM
Any one know what this would do if entered in the terminal? I tried but it does not seem to have done anything. It was supposed to be "fun"

sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'

IYY
August 16th, 2006, 12:43 AM
Well, I can see that it will replace the first - in each line of input with a |. But I don't really get it.

rattlerviper
August 16th, 2006, 01:07 AM
Well, I can see that it will replace the first - in each line of input with a |. But I don't really get it.

Hmmm, maybe I should check and see if I have royally messed up my computer.