[PD] finding source file of vanilla object

Jonghyun Kim agitato816 at gmail.com
Tue Dec 23 20:12:51 CET 2014


thanks for the answer!

I tried to find with grep, but it doesn't work...

*akntk at umi:~/Downloads/pd-0.46-4$ grep '"metro"' *.c*
*grep: *.c: No such file or directory*

I'm on Ubuntu 14.04 amd64

On Wed, Dec 24, 2014 at 3:12 AM, IOhannes m zmölnig <zmoelnig at iem.at> wrote:

> On 12/23/2014 07:05 PM, Jonghyun Kim wrote:
> > Hi list,
> >
> > I wanna see and learn the source of vanilla object, but I can't find the
> C
> > source file.
> >
> > I guess the C source of [metro] is metro.c, but metro.c file doesn't
> exist.
> > I found it very difficultly named after x_time.c!
> >
> > I guess:
> > [metro] is in *metro.c*
> > But actually:
> > [metro] is in *x_time.c*
> >
> > How can I find the source of each object easily?
>
> $ grep '"metro"' *.c
>
> "grep" is the unix-command to search a number of text-files for a given
> pattern.
> i'm using both kind of quotes to search for a string literal containing
> the double-quotes (<<"metro">>), as I know that each class has to be
> registered with it's name, which means that the C-string "metro" has to
> occur somewhere in the text.
>
> >
> > I would to know too, why and how naming the source file name? I can't
> > understand...
>
> part of the filename is obvious (e.g. "time" relates to things (e.g.
> objects) that deal with - well - time, like [metro]).
> there's a short explanation about the non-obvious part ("x_") in
> CHANGELOG.txt.
>
>
> gmdsr
> IOhannes
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141224/0c56c841/attachment.html>


More information about the Pd-list mailing list