[Building Sakai] *nix shell alias tip

will at serensoft.com will at serensoft.com
Mon Nov 16 09:43:13 PST 2009


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


More information about the sakai-dev mailing list