[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird problem with function ls or system("ls...")
From: |
Christian Weickhmann |
Subject: |
Re: Weird problem with function ls or system("ls...") |
Date: |
Tue, 28 Jul 2009 20:27:18 +0200 |
Hello again (sing) ;),
thanks for your answers. I didn't think of Matlab-compatibility as a
constraint. Anyways. Perhaps I misformulated my problem. So here again short
and simple: There must be a difference between "ls *" and "ls *a*".
> $ mkdir foo
> $ cd foo
> $ ls *
> ls: cannot access *: No such file or directory
> $ ls *a*
> ls: cannot access *a*: No such file or directory
John, you are totally right, I'd expect such a behaviour, too. But on my
Ubuntu system ls * gives an empty set and ls *a* gives "ls: cannot access *a*
...".
Believe it or not, I just confirmed this strange behaviour on a second Ubuntu-
PC.
Best regards,
Christian
--
Christian Weickhmann
12, Rue Paul Janet
Studio 339
67000 Strasbourg
Résidence de la Houille Blanche D373 2 Ave. des Jeux Olympiques 38029
Grenoble Cédex 2FRANCE
Tel: +49 (0) 6003 249383
Mobile (FR): +33 (0) 6.13.47.60.72
Mobile (DE): +49 (0) 172 9542058
- Weird problem with function ls or system("ls..."), Christian Weickhmann, 2009/07/28
- Re: Weird problem with function ls or system("ls..."),
Christian Weickhmann <=
- Re: Weird problem with function ls or system("ls..."), John W. Eaton, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), David Grundberg, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), Christian Weickhmann, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), John W. Eaton, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), Christian Weickhmann, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), John W. Eaton, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), Christian Weickhmann, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), John W. Eaton, 2009/07/28
- Re: Weird problem with function ls or system("ls..."), Francesco Potorti`, 2009/07/28