Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
san — — source: Informix-list mailing list archive (1991-1998)
Huy Vu <huyv@usa.net> wrote in message
news:E6YO2.75711$Mb.30683722@newscontent-02.sprint.ca...
> Hi all,
>
> I'm trying to hide some output displayed from the unix command below for
> example:
>
> echo "select name from sysdatabase"|dbaccess sysmaster|grep eagle
>
> Open database... <--------- would like to hide
>
> eagle
>
> 22 row(s) .... <--------- would like to hide
>
> Close database.. <--------- would like to hide
>
> I tried to redirect the output to /dev/null 2>&1 but not successful.
>
> Thank you in advance for any idea.
>
> H.V
>
>
try use awk command to process output from dbaccess
Svikhnushin Andrew
Inist Ltd
san@inist.ru
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.