Re: yes pipe

"Andreas V. Meier" <avmeier-S0/[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
On Mon, Jan 17, 2005 at 01:16:48PM -0500, John Kelly wrote:
> Looking at lx_config.sh, I see:
> 
> > yes '' | eval $MAKE oldconfig > /dev/null
> 
> What is the purpose of piping yes '' to the eval?

If you do a "make oldconfig" the kernel configurator asks you for each
option if you want to keep the default (pressing return selects the
default) or if you want to change it (yes/no/module).
yes '' is like pressing return on every question, thus selecting the
defaults.

Ciao

Andreas

_______________________________________________
rock-devel mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFB7BfJ2A9/vRi9PS4RAiAJAKCbttgfRYhFt9Rtft4eDJBLGXe6dQCeKOzL
LFcX8Oy9Aib0b81YqEw389o=
=XADb
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.