DISQUS

toxicsoftware.com: -url

  • Daniel Jalkut · 3 years ago
    Cool! The only problem on my machine was that the output of sed doesn't strip out the "URL: " prefix as expected. I managed to get the behavior by changing it to this:

    info $1 | grep 'URL: ' | sed 's/URL: //'

    Also somewhere along the line you got smart quotes in your HTML, so the example won't work without editing after copy/pasting into an rc file. I fixed it in the line above by using ' instead of the apostrophe character.
  • Jonathan Wight · 3 years ago
    Thanks for the comment. I removed the smart quotes (looks like ExpressionEngine likes to transform your quotes for you).

    I'll try out the modification to the sed statement and if it works for me too I'll update the code. Thanks!