Re: off topic: combined output of concurrent processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 13, 2012 at 10:31 PM, Amadeus W.M. <amadeus84@xxxxxxxxxxx> wrote:
>>
>> [egreshko@meimei test]$ grep ^A out | wc
>>      97      97     582
>> [egreshko@meimei test]$ grep ^B out | wc
>>      94      94     564
>> [egreshko@meimei test]$ grep ^C out | wc
>>      96      96     576
>
> I replicated this and indeed I don't get 100 lines of As, Bs and Cs.
> That's a new problem. Why don't I get all? Shouldn't all 300 echos have
> been launched when the script completes? And if the script has completed
> and there are echos running in the background, they should complete, no?
>
> I put a "wait" at the end of the script to wait for the completion of the
> echos, but I still get fewer lines than 100 per A, B, C.
>
> This is aggravating. So not all echos get executed (why?), yet I still
> don't see the output mingled.

I admit I am not really clear on what output you want to get but does
this give the output you want?

./ioTest.sh | cat > out

John
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux