Hello,
How do I set case insensitive search mode while the file is open with more command ?
(I know -i option which could be used before opening)
thanks
Vilius
Hello,
How do I set case insensitive search mode while the file is open with more command ?
(I know -i option which could be used before opening)
thanks
Vilius
If you can't put "-i" on the "more" command line for some reason, you can provide it as an environment variable:
MORE="-i" ; export MORE
Another way is with regular expressions.
For example to find the string "set" regardless of case within the "more" "man" page:
man more
/[S|e][E|e][T|t]
Hi.
If you can use command less instead of more, you have access to features like:
-i ........ --ignore-case
Ignore case in searches that do not contain uppercase.
...
Most options may be changed either on the command line,
or from within less by using the - or -- command.
-- excerpt from man less, q.v.
Good luck ... cheers, drl