Re: [TxMt] “Reformat Comment” command for Ruby bundle
Daniel Harple
dharple at generalconsumption.org
Wed Aug 23 17:36:46 UTC 2006
On Aug 23, 2006, at 1:34 PM, Daniel Harple wrote:
> text =`echo -n "#{e_as(STDIN.read)}" | ruby "#{ENV
> ["TM_SUPPORT_PATH"]}/bin/rubywrap.rb" #{flags}`
>
> should be:
>
> text =`echo -n #{e_sh(STDIN.read)} | ruby "#{ENV
> ["TM_SUPPORT_PATH"]}/bin/rubywrap.rb" #{flags}`
>
> This way it won't eat $variables and other shell specific stuff.
This creates some errors... how strange.
# Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod
# tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam,
# quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo
# consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse
# cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat
# non proident, sunt in culpa qui officia deserunt mollit anim id est
laborum.
goes to:
# Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod#
# tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
# veniam,# quis nostrud exercitation ullamco laboris nisi ut aliquip
ex ea
# commodo# consequat. Duis aute irure dolor in reprehenderit in
voluptate
# velit esse# cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat
# cupidatat# non proident, sunt in culpa qui officia deserunt mollit
anim id
# est laborum.
-- Daniel
More information about the textmate
mailing list