When I run this bash script ...
#!/bin/bash
tail -f log &
echo "tail is working" >> log
it prints out "tail is working" as expected.
My question is how can I do the same thing with a node command-line script?
I've tried everything but I can't come up with anything that works. Most
On Aug 18, 2013, at 5:52 PM, Mark Hahn wrote:
> When I run this bash script ...
>
> #!/bin/bash
> tail -f log &
> echo "tail is working" >> log
>
> it prints out "tail is working" as expected.
>
> My question is how can I do the same thing with a node command-line script?
> I'v
On Aug 18, 2013, at 7:21 PM, // ravi wrote:
> On Aug 18, 2013, at 5:52 PM, Mark Hahn wrote:
>> When I run this bash script ...
>>
>>#!/bin/bash
>>tail -f log &
>>echo "tail is working" >> log
>>
>> it prints out "tail is working" as expected.
>>
>> My question is how can I do th
If this is indeed your test file it won't output. I think you may want to run
your source through coffeescript first ;)
On Aug 18, 2013, at 3:52 PM, Mark Hahn wrote:
> When I run this bash script ...
>
> #!/bin/bash
> tail -f log &
> echo "tail is working" >> log
>
> it prints ou
I'll try again using these ideas.
It was mentioned that I'm not using a tail module. Does such a thing
exist? I'm all for non-wheel-reinvention.
> I think you may want to run your source through coffeescript first ;)
:-)
On Sun, Aug 18, 2013 at 5:28 PM, Nathan White wrote:
> If this is ind
On Aug 18, 2013, at 8:41 PM, Mark Hahn wrote:
> I'll try again using these ideas.
>
> It was mentioned that I'm not using a tail module. Does such a thing exist?
> I'm all for non-wheel-reinvention.
>
A quick search brought up:
https://npmjs.org/package/tailnative
https://npmjs.org/packag
Thanks. I should have looked for these. It didn't occur to me.
On Sun, Aug 18, 2013 at 6:18 PM, // ravi wrote:
> On Aug 18, 2013, at 8:41 PM, Mark Hahn wrote:
> > I'll try again using these ideas.
> >
> > It was mentioned that I'm not using a tail module. Does such a thing
> exist? I'm all
odejs] command-line script question
Thanks. I should have looked for these. It didn't occur to me.
On Sun, Aug 18, 2013 at 6:18 PM, // ravi wrote:
> On Aug 18, 2013, at 8:41 PM, Mark Hahn wrote:
> > I'll try again using these ideas.
> >
> > It was mentioned that I
On Aug 18, 2013, at 11:20 PM, Mark Hahn wrote:
> Thanks. I should have looked for these. It didn't occur to me.
>
No worries!
—ravi
> On Sun, Aug 18, 2013 at 6:18 PM, // ravi wrote:
> On Aug 18, 2013, at 8:41 PM, Mark Hahn wrote:
> > I'll try again using these ideas.
> >
> > It w