about quote in command
On Thu, Dec 06, 2007 at 08:11:51PM +0100, Sjoerd Mullender wrote:
> On 2007-12-06 18:59, adrian kok wrote:
> > Hi all
> $(tail -n 1 $(date "+%Y-%m-%d-%H").txt)
This is the preferred syntax, because:
* The nesting problem others have noted.
* The `` syntax is deprecated and may eventually go away. It is
retained mainly for backward compatibility.
* $() will tickle parentheses matching tools in some editors such as
emacs, making the code easier to read.
--
Charles Curley /" ASCII Ribbon Campaign
Looking for fine software / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|