Date: Wed, 5 Jan 2011 10:43:54 -0700 From: Chad Perrin <perrin@apotheon.com> To: freebsd-questions@freebsd.org Subject: Re: a perl question Message-ID: <20110105174354.GA76738@guilt.hydra> In-Reply-To: <20110105234451.T49334@sola.nimnet.asn.au> References: <20110105120012.26D6710656E0@hub.freebsd.org> <20110105234451.T49334@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 06, 2011 at 12:07:13AM +1100, Ian Smith wrote: >=20 > Do you know of any 'less useless' or more economical way to do such as: >=20 > % cat /boot/boot1 /boot/boot2 | diff - /boot/boot > % Actually, that looks like a useful use of cat, whose original purpose it is to concatenate the contents of two files. `cat /boot/boot1 /boot/boot2` concatenates the contents of two files, so that the resulting single text stream can be treated as a file to be compared by diff to `/boot/boot`. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk0krdoACgkQ9mn/Pj01uKW4cgCg3M6ObhKLi7tjuqEngoLCD3qP w5wAoJ9rebWy7FcmhSyUM2Yand2nM7mu =xBq7 -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110105174354.GA76738>