[CentOS] Automatically send CTRL-D

Luciano Rocha strange at nsk.no-ip.org
Tue Mar 11 14:00:29 UTC 2008


On Tue, Mar 11, 2008 at 12:58:03PM +0000, Mário Gamito wrote:
> Hi Marcelo,
> 
> On Tue, Mar 11, 2008 at 12:52 PM, Marcelo Roccasalva <
> marcelo-centos at irrigacion.gov.ar> wrote:
> 
> > On Tue, Mar 11, 2008 at 10:35 AM, Mário Gamito <gamito at gmail.com> wrote:
> > [...]
> > > $ sha512sum | xargs echo "password" | cut -f2 -d' '
> >
> > read x;echo "$x" |  sha512sum | xargs echo "password" | cut -f2 -d' '
> >
> 
> Thank you for your answer, but unfortunately it still hangs waiting for the
> CTRL-D.

Not here. Could you show us the part of your script that uses sha512sum?


-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080311/023ea933/attachment.sig>


More information about the CentOS mailing list