Speeding up functionality searches

You can make a little function in your .bashrc that takes two arguments - the file name and the text string that you want search for - to reduce typing when looking for specific functionality in the tutorials. Use: myfunc() { find $FOAM_TUTORIALS/* -name "$1" | xargs -I {} grep "$2" {} }

© Upstream Applied Science Ltd 2021 / Registered in England & Wales / Company Number 12118808 / VAT Number 328-2757-83 / Privacy Policy / Credits