LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Removing the quote distinction?

Posted May 20, 2005 18:43 UTC (Fri) by mikeraz (subscriber, #155)
In reply to: Removing the quote distinction? by liljencrantz
Parent article: Fish - The friendly interactive shell

fish is "friendly" and for beginners printf syntax isn't.

I'd feel more comfortable with variable expansion in quoted strings so that

% set file ~/mail/sent
% echo "File is set to $file"
File is set to ~/mail/sent

to echo $file you escape it
% echo "File is set to \$file"
File is set to $file


(Log in to post comments)

Removing the quote distinction?

Posted May 21, 2005 10:30 UTC (Sat) by liljencrantz (subscriber, #28458) [Link]

Meh. You are turning my own arguments against me. That's cheating! ;-)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.