| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR: bin/6577
Submitted by: Anatoly Vorobey <mellon@pobox.com>
Approved by: silence amoung other sh experts
|
| |
|
|
|
|
| |
discussed on -arch.
|
| |
|
|
|
|
| |
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
|
|
|
|
| |
PR: bin/9173
|
|
|
|
|
| |
might be relocated. Handle this case.
PR: 7059
|
|
|
|
|
|
|
|
|
|
|
| |
representation of the expression is quoted. Take care of this when
doing pattern matching in conjunction with trimming.
#!/bin/sh
c=d:e; echo "${c%:e}"
PR: NetBSD PR#7231
Noticed by: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
|
|
|
|
|
|
|
| |
Don't output double-quotes inside variable expansion/arithmetic
expansion region in here-documents. When leaving the arithmetic
expansion syntax mode, adjust the dblquote flag according to
previous syntax, in order to avoid splitting of quoted variables.
|
|
|
|
|
|
| |
multiple times when performing nested variable expansion, and
preserve some quoting information in order to avoid removing
apparently empty expansion result.
|
| |
|
|
|
|
| |
political issue.
|
|
|
|
|
|
|
|
| |
>Category: bin
>Synopsis: WEXITSTATUS() may return nagative value, which causes sh to generate bad $?
PR: 3780
Submitted by: sanewo@ba2.so-net.or.jp
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
| |
to get truncated.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
| |
optimization. (num-- > 0) --> (--num >= 0).
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD, me
|
|
|
|
| |
2) replace collate_range_cmp call with its code
|
|
|
|
| |
Steve's.. :-]
|
|
|
|
| |
patch-by-hand botch, but it sig-11's during make world.
|
|
|
|
| |
Submitted by: Steve Price <sprice@hiwaay.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
merge of parallel duplicate work by Steve Price and myself. :-]
There are some changes to the build that are my fault... mkinit.c was
trying (poorly) to duplicate some of the work that make(1) is designed to
do. The Makefile hackery is my fault too, the depend list was incomplete
because of some explicit OBJS+= entries, so mkdep wasn't picking up their
source file #includes.
This closes a pile of /bin/sh PR's, but not all of them..
Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
|
| |
|
| |
|
|
|
|
| |
Reviewed by: phk
|
|
|
|
|
|
| |
Reviewed by:
Submitted by:
Obtained from:
|
| |
|
|
|