unixsearchcase-insensitiveless-unix

How do you do a case insensitive search using a pattern modifier using less?


It seems like the only way to do this is to pass the -i parameter in when you initially run less. Does anyone know of some secret hack to make something like this work

/something to search for/i

Solution

  • You can also type command -I / -i while less is running. It toggles case sensitivity for searches.