source: vendor/bash/3.1-p17/examples/functions/jj.bash

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 111 bytes
Line 
1jj ()
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.