![]() |
Last updated May 04 2016 11:09:48 |
Home | BareTail | BareTailPro | BareGrep | BareGrepPro | Buy Now | News | Contact Us |
Command Line Usagebareview [options] [pattern {file(s)}] or bareview (-n|--no-regex) [options] {file(s)} where options can be: -n, --no-regex Indicates that no regex (search string) will be specified on the command line, so matching files will be found, instead of matching lines in matching files. -i, --ignore-case Case insensitive search (default search is case sensitive). -v, --invert-match Shows only lines which do not match the expression. -r, --search-subfolders Recursively searches from the current directory through all sub-folders, for any matching files. This is the default. -l, --local-directory Searches only the current directory for matching files. -d, --directory directory Specifies the directory in which to run BareView. -wp, --window-position left top width height Specifies the window position at startup in pixels. Note that the -ws, --window-state option, as well as the stored windows state in the registry (from the last run) overrides this option when the state is minimised or maximised. -ws, --window-state 0 | 1 | 2 Specifies the window state at startup:
ExamplesIf BareView is started from the command line without any command line arguments, for example: C:\>bareview then it prompts the user for a search pattern and a file or files to open. Similarly, if only a pattern is specified on the command line, then BareView prompts the user for a file or files to open. It is possible to specify one or more files on the command line, such as: C:\>bareview struct main.cpp engine.cpp in which case BareView would search the two files main.cpp and engine.cpp for the pattern struct. The usual operating system wildcards can be used to specify a set of files, for example: C:\>bareview class *.cpp engine.?? would search all files with the cpp extension and any files named engine with a two character extension for the pattern class. It is possible to specify a case-insensitive pattern match with the -i or --ignore-case flag. For example: C:\>bareview -i TODO or: C:\>bareview --ignore-case TODO would specify a case-insensitive search for the pattern TODO. The pattern matching can be inverted with the -v or --invert-match flag. For example: C:\>bareview -v OK or: C:\>bareview --invert-match OK would match all lines which do NOT contain the pattern OK. |
|||||||||||
|
Home | BareTail | BareTailPro | BareGrep | BareGrepPro | Buy Now | News | Contact Us
Copyright © 2003, 2004, 2005, 2006 Bare Metal Software Pty Ltd.