Removing the quote distinction?
Posted May 19, 2005 17:44 UTC (Thu) by smeg4brains
In reply to: Removing the quote distinction?
Parent article: Fish - The friendly interactive shell
Yeah.. the language seems pretty nice, but I do have to agree with people that the quotes should be handled differently..
Maybe keep the difference in the quotes as usual, but steal python's
''' , '' , '
""" , "" , "
All of the single quote variations could skip the variable expansion, but all of the double quote versions could expand variables..
This way you can keep some of the backward compatibility with bash/sh, but you also have cleaner/better quote mechanisms as well..
echo """Hello $USER
Welcome to "Ackerman.umci.com".
All connections logged."""
echo '''To add to your $PATH variable, use something like:
export PATH="$PATH:/home/jeffb/.bin/" '''
to post comments)