[prev in list] [next in list] [prev in thread] [next in thread]
List: suse-linux-e
Subject: [SLE] Re: Testing using Bash for an unknown extension
From: Sean Rima <sean () tcob1 ! net>
Date: 2003-11-30 16:30:00
[Download RAW message or body]
Vic Ayres writes:
>>> That's strange. I tried with
>>> #!/bin/bash
>>> if [ -e ab123.* ] ; then
>>> echo "It exists"
>>> fi
>>> and it works perfectly. Is run_command in the path?
>>>
>>
>> It is, but I noticed that you didn't include a path, maybe that is why
>> mine is failing, will experiment.
>>
> I didn't include a path because my script and test file were in my home
> directory. I wondered if it was a shell expansion issue with the .*.
> Moving my test file and including the path still works, though.
>
That is strange because if I include the filepath it doesn't work, except
the path it works :)
Sean
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic