On Fri, Jan 11, 2008 at 04:06:22PM +0200, Lars NoodC)n wrote: > ksh is the default shell, but the man page for 'jobs' refers to csh > > The two appear to differ in how they handle background / foreground > jobs. In csh, '%1' works the same way 'fg %1' does, but in ksh, only > 'fg %1' works: > > # echo $0 > -ksh > # jobs > [3] + Suspended vi /etc/dnsmasq.conf > [1] - Suspended vi ssh-log.sh > [2] Running tcpdump -i .... > # %2 > ksh: %2: not found > # %1 > ksh: %1: not found > # uname -a > OpenBSD foo 4.2 GENERIC#375 i386 > > > It's not a major obstacle but one of convenience. Perhaps the man page > can be updated to reflect ksh instead. Or is there a reason for using > csh as the example in the man page for 'jobs' ? > > Regards > -Lars
csh was the default shell for a long time. various bits of documentation still reflect that, to some degree. for shell builtins, there's no great solution. just read the man page for the shell you use, and don;t worry to much. if anything, there probably should not be pages for builtins. jmc