May 2nd, 2007
Using the BASH shell to issue the wc and find commands you can recursively count the lines in files of types you specify. First navigate into the directory, then alter the following command to your needs:
wc -l `find . -regex '.*\(.php\|.xsl\|.css\|.xml\)' -print`
In my coursework directory this returns 2340 lines. Size eight font for this one.
May 5th, 2007 at 1:09 pm
I do more design work than coding, but surprisingly 4257 lines in the latest website we did, though that includes .html and .js files (much of which I didn’t actually write). Usually my SVG files of the given design are the longest. (:
Take it easy. =]
May 10th, 2007 at 12:44 am
we’ve got an all night party at school called BASH… ain’t that funny.
sorry for my non-computer geekyness. LoL