[Building Sakai] *nix shell alias tip
Noah Botimer
botimer at umich.edu
Mon Nov 16 13:54:06 PST 2009
I love it -- I use an uglier version I put together but will probably
switch now. I've also found it handy to exclude metaprops, by the way.
Thanks,
-Noah
On Nov 16, 2009, at 12:43 PM, will at serensoft.com wrote:
> Unix/Linux shell tip:
>
> Here are some nice command-line aliases for searching Sakai source
> code:
>
> alias jgrep='grep -r --exclude-dir=.svn --exclude-dir=target
> --exclude-dir=m2-target'
> alias bgrep='jgrep --exclude-dir=bundle'
>
> Then, for example:
>
> jgrep UserTypeMapper providers
> jgrep -i sakai_user_id_map .
> vi `bgrep -l student_view_not_released gradebook`
>
> Saves mucho time (and hard drive wear) not having to scan the .svn/ or
> target/ or m2-target/ subdirectories. Very quick!
>
>
> --
> will trillich
> "Tis the set of the sails / And not the gales / That tells the way we
> go." -- Ella Wheeler Wilcox
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-
> unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
More information about the sakai-dev
mailing list