Search:
Login
BashFAQ
/
066
BashGuide
BashFAQ
RecentChanges
FindPage
HelpContents
BashFAQ/066
Revision 1 as of 2007-05-03 00:00:48
Clear message
Edit
Comments
Info
Attachments
More Actions:
Raw Text
Print View
Render as Docbook
Delete Cache
------------------------
Check Spelling
Like Pages
Local Site Map
------------------------
Rename Page
Delete Page
------------------------
Subscribe User
------------------------
Remove Spam
Revert to this revision
Package Pages
Sync Pages
------------------------
Load
Save
SlideShow
Anchor(faq66)
I want to check if [[ $var == foo || $var == bar || $var = more ]] without repeating $var n times.
case $var in
foo|bar|more) ... ;;
esac