• more usage fixes, inspired by sobrado
• bump mksh patchlevel
This commit is contained in:
		
							
								
								
									
										4
									
								
								check.t
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								check.t
									
									
									
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
| # $MirOS: src/bin/mksh/check.t,v 1.197 2008/06/02 20:44:07 tg Exp $ | ||||
| # $MirOS: src/bin/mksh/check.t,v 1.198 2008/06/08 17:15:29 tg Exp $ | ||||
| # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ | ||||
| # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ | ||||
| # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ | ||||
| @@ -7,7 +7,7 @@ | ||||
| # http://www.research.att.com/~gsf/public/ifs.sh | ||||
|  | ||||
| expected-stdout: | ||||
| 	@(#)MIRBSD KSH R34 2008/05/17 | ||||
| 	@(#)MIRBSD KSH R34 2008/06/08 | ||||
| description: | ||||
| 	Check version of shell. | ||||
| category: pdksh | ||||
|   | ||||
							
								
								
									
										8
									
								
								funcs.c
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								funcs.c
									
									
									
									
									
								
							| @@ -5,7 +5,7 @@ | ||||
|  | ||||
| #include "sh.h" | ||||
|  | ||||
| __RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.81 2008/05/17 18:46:58 tg Exp $"); | ||||
| __RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.82 2008/06/08 17:15:29 tg Exp $"); | ||||
|  | ||||
| /* A leading = means assignments before command are kept; | ||||
|  * a leading * means a POSIX special builtin; | ||||
| @@ -1303,9 +1303,9 @@ c_kill(const char **wp) | ||||
| 	} | ||||
| 	if ((lflag && t) || (!wp[i] && !lflag)) { | ||||
| #ifndef MKSH_SMALL | ||||
| 		shf_fprintf(shl_out, | ||||
| 		    "Usage: kill [ -s signame | -signum | -signame ] {pid|job}...\n" | ||||
| 		    "       kill -l [exit_status]\n"); | ||||
| 		shf_puts("usage:\tkill [-s signame | -signum | -signame]" | ||||
| 		    " { job | pid | pgrp } ...\n" | ||||
| 		    "\tkill -l [exit_status ...]\n", shl_out); | ||||
| #endif | ||||
| 		bi_errorfz(); | ||||
| 		return 1; | ||||
|   | ||||
							
								
								
									
										4
									
								
								sh.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								sh.h
									
									
									
									
									
								
							| @@ -100,9 +100,9 @@ | ||||
| #define __SCCSID(x)	__IDSTRING(sccsid,x) | ||||
|  | ||||
| #ifdef EXTERN | ||||
| __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.218 2008/05/17 20:10:52 tg Exp $"); | ||||
| __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.219 2008/06/08 17:15:30 tg Exp $"); | ||||
| #endif | ||||
| #define MKSH_VERSION "R34 2008/05/17" | ||||
| #define MKSH_VERSION "R34 2008/06/08" | ||||
|  | ||||
| #ifndef MKSH_INCLUDES_ONLY | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user