bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in find (?)


From: Andreas Schwab
Subject: Re: Bug in find (?)
Date: Mon, 05 Aug 2002 13:24:53 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux)

address@hidden writes:

|> Dear Sirs,
|> 
|> I'am using the really comfortable find utility (find version 4.1 on AIX 4.3 
or
|> find version 4.17 on Win XP (cygwin)).
|> 
|> I would like to produce a list of directories for a makefile:
|> 
|> /home/gnu/bin/find . -name "*.c" -printf "%h \\\n"
|> 
|> But either the line continuation '\\' or the newline '\n' is not recognized.

You are passing the string '%h \n' to -printf.  What you probably want is

$ /home/gnu/bin/find . -name "*.c" -printf '%h \\\n'

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]