[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automate input
From: |
Eric Blake |
Subject: |
Re: automate input |
Date: |
Thu, 09 Aug 2007 06:18:32 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to ruby0954 on 8/8/2007 4:12 PM:
> trac-admin is an interactive script. most its default answers are fine. I
> would like to have my script to hit the enter key for me. $'\r' is not
> working as the enter key. thanks.
That's because the enter key is not $'\r', but $'\n' (or more simply, a
blank line inside your heredoc).
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGuwYY84KuGfSFAYARAmSeAKCKtW7U+416S1ncqLLsGSTo2MEV8wCgvpZx
p/ldW43USeb+Vr2WzVA81/0=
=DxPZ
-----END PGP SIGNATURE-----
- automate input, ruby0954, 2007/08/09
- Re: automate input,
Eric Blake <=