Daily Shaarli

All links of one day in a single page.

January 25, 2021

One-liner Bash Functions | Jonathan Palardy's Blog

To write bash one-liner functions, don't forget to add a semi-column at the end of the commands:

$ grep_file() { grep "$@" file; }