This is a discussion on Re: Testing wanted: OpenSSH 4.8 within the OpenSSH Development forums, part of the Networking and Network Related category; On Thu, 13 Mar 2008, Iain Morgan wrote: > On Thu, Mar 13, 2008 at 13:11:13 -0700, Iain ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thu, 13 Mar 2008, Iain Morgan wrote:
> On Thu, Mar 13, 2008 at 13:11:13 -0700, Iain Morgan wrote: > > (echo "cd ${OBJ}"; echo "lls") | ${SFTP} -P ${SFTPSERVER} 2>&1 | \ > > grep -q copy.dd || fail "lls failed" > > > > Using 'echo -e' would be nicer, but that's not universal either. > > > > One further note: On Solaris 9 /usr/bin/grep does not support a -q > option, whereas /usr/xpg4/bin/grep does. It may be best to just direct > the output to /dev/null rather than relying on -q. Commited fixes for the \n and grep -q. Thanks for the report. -- Tim Rice Multitalents (707) 887-1469 tim@multitalents.net _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org https://lists.mindrot.org/mailman/li...enssh-unix-dev |