[TxMt] Unwanted newline after Replace Selected Text

Charilaos Skiadas skiadas at hanover.edu
Thu Apr 12 14:23:31 UTC 2007


On Apr 12, 2007, at 10:15 AM, Robin Houston wrote:

> 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!
>
No I hadn't tried it ;)

> The point is that $(command) strips the newline: for example
>
>   foo=$(echo hello)
>
> puts the string "hello" (without a newline) into $foo.

Interesting.  `...` seems to have the same behavior. In fact, hard as  
I tried I did not manage to get echo to read a newline at all ;).

> Robin
>
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College







More information about the textmate mailing list