capture output of an ldapmodify command
- From: "Anton" <anton541@xxxxxxxxxxx>
- Date: 25 Sep 2006 14:37:06 -0700
hello- Im encountering a strange problem Im sure Im overlooking the
problem....
i am performing an ldapmodify command on an ldif file and want to
capture the output:
IE: this is what is seen on the command line:
modifying entry: entryname
ldap_modify: object exists
modifying entry: entryname
ldap_modify: no such object
***************************************
I want that EXACT output to be piped into a file--- BUT no matter what
I do i get a file that looks like this:
modifying entry: entryname
modifying entry: entryname
ldap_modify: object exists
ldap_modify: no such object
the above occurs when i direct stderr and stdout to the same file-- so
Im assuming stdout is being reported all at once then the stderr... is
there a way I can just capture the output like you see on the screen
when running the ldapmodify command?
Thanks in advance! - Todd
.
- Follow-Ups:
- Re: capture output of an ldapmodify command
- From: johngnub
- Re: capture output of an ldapmodify command
- Prev by Date: Re: :t and getting senile.
- Next by Date: Re: bash: path of script that is being executed
- Previous by thread: :t and getting senile.
- Next by thread: Re: capture output of an ldapmodify command
- Index(es):