source:
trunk/essentials/app-shells/bash/examples/functions/jj.bash@
3506
| Last change on this file since 3506 was 3228, checked in by , 19 years ago | |
|---|---|
| File size: 111 bytes | |
| Line | |
|---|---|
| 1 | jj () |
| 2 | { |
| 3 | p=$(jobs $1); |
| 4 | echo $p |
| 5 | |
| 6 | case "$p" in |
| 7 | [*) echo matches '[*' |
| 8 | ;; |
| 9 | *) echo not a match\? |
| 10 | ;; |
| 11 | esac |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
