Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Search with man less (See related posts)

# use n or N to iterate through matches
# [esc-u] turns off search highlighting

man bash | less -p 'ARITHMETIC EVALUATION'   
man bash | less -p 'Arithmetic Expansion'

help let

help test | sed -E "s/(Arithmetic tests)/$(printf '\e[1m\\1\e[m')/"

You need to create an account or log in to post comments to this site.