[TxMt] Unwanted newline after Replace Selected Text

Robin Houston robin.houston at gmail.com
Thu Apr 12 14:15:03 UTC 2007


On 4/12/07, Charilaos Skiadas <skiadas at hanover.edu> wrote:
>
> Anyway, here's what I said, which is I think why Robin's method won't
> quite work:


I guess you haven't tried it then, because it actually works fine!

The point is that $(command) strips the newline: for example

  foo=$(echo hello)

puts the string "hello" (without a newline) into $foo.

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070412/828a6992/attachment.html>


More information about the textmate mailing list