sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #51553
Re: find problem
Mon, 20 May 2002 19:20:57 +0200, skrev Robert Larsen
<robert@xxxxxxxxxxxxxxxxx>:
> Hello
> En gang imellem kan jeg ikke få "find" til at virke. For det meste
> virker det, og jeg fatter ikke, hvad det er, der går galt.
> -------------------------------------------------------------------------------
> [robert@mercury opengl]$ find --version
> GNU find version 4.1.7
> [robert@mercury opengl]$ find . -name *.cpp
> find: paths must precede expression
> Usage: find [path...] [expression]
> -------------------------------------------------------------------------------
Mit bud:
find . -name "*.cpp"
find . -name \*.cpp
Jeg gætter på at shell'en ekspanderer "*" før det sendes til find.
Leo
--
I could dance with you till the cows come home. On second thought, I'd rather
dance with the cows till you come home.
-- Groucho Marx
References