* [devel] hsh-run stderr
@ 2005-09-11 11:05 Alexey Tourbin
2005-09-11 22:07 ` Dmitry V. Levin
0 siblings, 1 reply; 5+ messages in thread
From: Alexey Tourbin @ 2005-09-11 11:05 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
А есть ли возможность при использовании hsh-run как-то отделить
stdout от stderr?
$ hsh-run -- ~/build find / -type f |wc -l
9660
$ hsh-run -- ~/build find / -type f |grep find:
find: /etc/tcb: Permission denied
find: /etc/default: Permission denied
find: /lib/modules: Permission denied
find: /var/lock/uucp: Permission denied
find: /var/lock/serial: Permission denied
find: /var/lock/subsys: Permission denied
find: /var/spool/mail: Permission denied
find: /var/nobody: Permission denied
find: /usr/lib/chkpwd: Permission denied
find: /usr/share/locale/pt_BR: Permission denied
find: /usr/share/locale/zh_CN: Permission denied
find: /usr/share/locale/zh_TW: Permission denied
find: /boot: Permission denied
find: /root: Permission denied
find: /.host: Permission denied
find: /lib64/modules: Permission denied
$ hsh-run -- ~/build find / -type f 2>/dev/null |wc -l
9660
$
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] hsh-run stderr
2005-09-11 11:05 [devel] hsh-run stderr Alexey Tourbin
@ 2005-09-11 22:07 ` Dmitry V. Levin
2005-09-12 3:44 ` [devel] " Alexey Tourbin
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry V. Levin @ 2005-09-11 22:07 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
On Sun, Sep 11, 2005 at 03:05:58PM +0400, Alexey Tourbin wrote:
> А есть ли возможность при использовании hsh-run как-то отделить
> stdout от stderr?
Теоретически это возможно, но на практике этого можно добиться только
путём соответствующей модификации hasher-priv.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [devel] Re: hsh-run stderr
2005-09-11 22:07 ` Dmitry V. Levin
@ 2005-09-12 3:44 ` Alexey Tourbin
2005-09-12 10:25 ` Dmitry V. Levin
0 siblings, 1 reply; 5+ messages in thread
From: Alexey Tourbin @ 2005-09-12 3:44 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
On Mon, Sep 12, 2005 at 02:07:05AM +0400, Dmitry V. Levin wrote:
> On Sun, Sep 11, 2005 at 03:05:58PM +0400, Alexey Tourbin wrote:
> > А есть ли возможность при использовании hsh-run как-то отделить
> > stdout от stderr?
>
> Теоретически это возможно, но на практике этого можно добиться только
> путём соответствующей модификации hasher-priv.
По-моему, выглядит нелогично: если рассматривать hsh-run как обертку
для команды, то эта обертка попросту портит вывод.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] Re: hsh-run stderr
2005-09-12 3:44 ` [devel] " Alexey Tourbin
@ 2005-09-12 10:25 ` Dmitry V. Levin
2005-10-08 22:47 ` Dmitry V. Levin
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry V. Levin @ 2005-09-12 10:25 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 692 bytes --]
On Mon, Sep 12, 2005 at 07:44:58AM +0400, Alexey Tourbin wrote:
> On Mon, Sep 12, 2005 at 02:07:05AM +0400, Dmitry V. Levin wrote:
> > On Sun, Sep 11, 2005 at 03:05:58PM +0400, Alexey Tourbin wrote:
> > > А есть ли возможность при использовании hsh-run как-то отделить
> > > stdout от stderr?
> >
> > Теоретически это возможно, но на практике этого можно добиться только
> > путём соответствующей модификации hasher-priv.
>
> По-моему, выглядит нелогично: если рассматривать hsh-run как обертку
> для команды, то эта обертка попросту портит вывод.
Нет предела совершенству, есть предел возможностей, которые можно
реализовать за конечный промежуток времени. :)
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] Re: hsh-run stderr
2005-09-12 10:25 ` Dmitry V. Levin
@ 2005-10-08 22:47 ` Dmitry V. Levin
0 siblings, 0 replies; 5+ messages in thread
From: Dmitry V. Levin @ 2005-10-08 22:47 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
On Mon, Sep 12, 2005 at 02:25:59PM +0400, Dmitry V. Levin wrote:
> On Mon, Sep 12, 2005 at 07:44:58AM +0400, Alexey Tourbin wrote:
> > On Mon, Sep 12, 2005 at 02:07:05AM +0400, Dmitry V. Levin wrote:
> > > On Sun, Sep 11, 2005 at 03:05:58PM +0400, Alexey Tourbin wrote:
> > > > А есть ли возможность при использовании hsh-run как-то отделить
> > > > stdout от stderr?
> > >
> > > Теоретически это возможно, но на практике этого можно добиться только
> > > путём соответствующей модификации hasher-priv.
> >
> > По-моему, выглядит нелогично: если рассматривать hsh-run как обертку
> > для команды, то эта обертка попросту портит вывод.
>
> Нет предела совершенству, есть предел возможностей, которые можно
> реализовать за конечный промежуток времени. :)
Реализовано в hasher-priv-1.2.2-alt1.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-08 22:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-11 11:05 [devel] hsh-run stderr Alexey Tourbin
2005-09-11 22:07 ` Dmitry V. Levin
2005-09-12 3:44 ` [devel] " Alexey Tourbin
2005-09-12 10:25 ` Dmitry V. Levin
2005-10-08 22:47 ` Dmitry V. Levin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git