[Debian-eeepc-devel] Changes for eeepc-acpi-scripts

Eric Cooper ecc at cmu.edu
Fri Jun 13 02:13:51 UTC 2008


On Thu, Jun 12, 2008 at 01:08:10PM +0200, Miek Gieben wrote:
> Any reason why ~$user cannot be used?

Because it's not expanded:

$ echo $USER
ecc
$ ls ~$USER
ls: cannot access ~ecc: No such file or directory

But you could use
    $(eval echo ~$USER)

-- 
Eric Cooper             e c c @ c m u . e d u



More information about the Debian-eeepc-devel mailing list