On Fri, 17 Jun 2011, Charles Goyard wrote:
I guess you're on osx since you mention 'Terminal'. Try with escaping the quotes : sed -n '$=' $File.txt and eventually the dollar too : sed -n '$=' $File.txt On archlinux it works without escaping.
Those don't sound like actual OSX/Linux differences.
I don't think that there are _any_ quoting differences between OSX and Linux, especially ever since OSX switched to the BASH shell.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC