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

Re: fooling a non-"stdin redirection accepting" app (colortail)??



On 2012-11-24 12:17 +0100, Zenaan Harkness wrote:

> On 11/24/12, Sven Joachim <svenjoac@gmx.de> wrote:
>
>> It reports /dev/fd/63 here.  Since I did not boot with systemd as PID 1,
> I get the same
>
>> I tested with "colortail -f <(tail -f /var/log/auth.log)", however.
> Yes, this works.
>
> Here are my attempts:
>
> $ colortail -f <(systemd-journalctl -f)
> Showing user generated messages only. Users in the group 'adm' can see
> all messages. Pass -q to turn this message off.
> ==> /dev/fd/63 <==
> # no more output

Rebooting my laptop with init=/bin/systemd, I can confirm that.

> Seems a hard nut to crack... evidently systemd-journalctl does not
> output in the same way as tail command...

At least with the -f option, it seems.

Cheers,
       Sven


Reply to: