Bob Scofield said:
> 
> Thanks for resonding to my Unintall post.  I have two questions if you 
> have the time.
> 
> 1)  In your find  command what is "%1\n"?  Does that represent a 
> variable?  What  is it?  What  does it do?

Hey there.  Actually, it's "%l" (percent elle).  If you look at the
man page for "find", it describes all of the different things
that the "-printf" option can spit out for you.  (It's similar to
printf() in C and other languages... the string, in this case "%l\n" is
a formatting description (hence the "f" in "printf"))

The "\n" is a newline character.  ("\" is being used as an escape
character, which causes printf to look at the next character(s) to
determine what special character to spit out)


Make sense? :)  Also see the printf(1) and printf(3) man pages.
("printf" in section 1 of the man page has to do with a printf program
you can execute from a shell like bash... section 3 talks about the
C function "printf()")

  $ man find
  $ man 1 printf
  $ man 3 printf

Enjoy! :)

-bill!

Reply via email to