Re: TODO for 1.2 release

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

 



In regard to: Re: TODO for 1.2 release, egger@xxxxxxx said (at 12:19am on...:

>> Perhaps it's been fixed in CVS already, and that's what you're looking
>> at?
>
> No, it's not fixed in CVS.... but for some reason
> find -name *.c | grep "//" -            

You need to quote the '*.c', it's getting expanded by the shell before
it ever gets fed to find.  :-)

find . -name '*.c' -exec egrep '//' {} /dev/null \;

or

find . -name \*.c -exec egrep '//' {} /dev/null \;


Better:

find . -name '*.c' -o -name '*.h' -exec egrep '//' {} /dev/null \; | \
	grep -v '://'

(to get rid of false matches on URLs)

> didn't work as I would have expected it. Will grep it manually and
> replace every C++ comment by a C comment. Thanks for pointing out!

You're welcome!

Tim
-- 
Tim Mooney                              mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux