about quote in command
Charles Curley
charlescurley at charlescurley.com
Fri Dec 7 00:52:27 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20071206/000b8fab/attachment-0001.bin
More information about the users
mailing list