On 1/4/2012 4:38 AM, Patrick O'Callaghan wrote:
I know you and Ed (and Marvin) have been round the block on this, but if
you'll allow an oldie to sum up:
Makefiles are not normally executables, in fact they aren't normally
Shell scripts. Therefore they don't need to have the +x attribute. It's
easy to list the Makefiles on your system and check this:
ls -l $(locate -b -i '\Makefile')
poc
poc:
Thanks for the additional info.
I'm unaware of "locate". I have been using "find". Took a quick look on
man pages and don't really see a difference, but I am not sure.
The one thing that sticks out is the running in a directory with a file
called Makefile:
+++
ls -l $(locate -b -i '\Makefile')
+++
doesn't give me anything useful, just a 'ls -l' of the directory. The
man pages talks about "lists files in databases that match a pattern".
What am I missing here?
Plus, I don't see a recursion option, leading me to believe that it
wants me to be searching something for all info rather than current pwd?
"find" give me what I want, but not with the protections et al info.
Tried to figure out a redirect or pipe to have everything from find go
into a "ls -l", but I am either missing the obvious or its more
complicated than I am aware of.
Thanks,
Paul
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org