Thread: Search inside your code easily
i know *very* simple, thinking how simple script has helped me on searching code specific words:
it searches files in current directory , outputs ones containing 1st argument, example usage:code:#!/bin/bash in *; if ! [ -d "$i" ]; if [[ $(cat "$i" | grep "$1") ]]; echo "$i" fi fi done
just sharing....code:alex@mad-pc:~/documents/wallch$ for_every image create_html direct_link imageshack.py imgur.py log.txt screenshots.html start alex@mad-pc:~/documents/wallch$ above files contain word "image"
ever heard of grep -r?
code searching i'd rather recommend tag based approaches ctags or cscope
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] Search inside your code easily
Ubuntu
Comments
Post a Comment