[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test ~ expand
From: |
PADURARIU Lucian Ionut |
Subject: |
test ~ expand |
Date: |
Wed, 26 Feb 2003 19:42:56 +0200 (EET) |
given :
in ~joe a file named a.txt
and the next script :
------------
#!/bin/bash
$a=joe
test -e ~$a/a.txt && echo "yes"
------------
it does not output anything.
WHY NOT ????????
and if we do :
test -e ~joe/a.txt && echo "yes"
it writes at stdin "yes"
WHY ????????????
- test ~ expand,
PADURARIU Lucian Ionut <=