bookmarks/cheat/shell.md

9 lines
103 B
Markdown
Raw Normal View History

2020-07-13 16:31:35 +00:00
### Debugging a shell function
```bash
function mybuggyfunction {
set -x
my code
set +x
}
```