repo.or.cz
/
dash.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
trap: Implement POSIX.1-2008 trap reset behaviour
2016-09-02
H
e
rbert Xu
trap: Imp
l
ement POSIX
.
1-2008 trap reset beh
a
viour
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2016-06-06
Herbert Xu
Release 0
.
5
.
9
.
commit
|
commitdiff
|
tree
2015-08-13
He
r
be
r
t Xu
builtin: Rese
t
t_wp_op in testcmd
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2015-01-05
Herbert Xu
input: Allow t
w
o consecu
t
i
v
e c
a
lls
t
o pungetc
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2015-01-05
Herbert Xu
input: Mov
e
all input s
t
ate
into parsefile
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2015-01-05
Herbert Xu
i
nput:
Remove HETIO
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2015-01-05
Herbert Xu
input: Make preadbuffer
s
tatic
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2015-01-05
Her
b
ert
X
u
expand: Fixe
d
"$@" expans
i
on
w
hen EXP_FULL is false
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-30
H
e
rbert X
u
[P
A
RSER] Catch variable length
e
xpansio
n
s on no
n
-e
x
ista
n
t
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-28
Herbert Xu
[
P
ARSER] Si
m
plify EOF
/
newli
n
e handling in lis
t
par
s
er
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-28
Herbert Xu
[PARSER]
Rem
o
ved
u
nnecessary
punget
c
o
n
EO
F
from parser
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
Herbert Xu
[BUILT
I
N] Handle -- in
d
otcmd
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
H
e
rbert Xu
[
B
UILTIN] Simplify echo comma
n
d
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
H
e
rbert Xu
[BUI
L
T
IN] Optimis
e
h
andling of backslash oct
a
ls in
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
Herbert Xu
[BUILTIN] Use e
r
ror
in
s
te
a
d
o
f warnx for f
a
tal
e
rr
o
rs
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
H
erbert Xu
[
B
UILTIN] Remove getintmax
i
n
pri
n
tf
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
Herbert Xu
[BUILTIN]
R
emov
e
unnecessary restoration of for
m
at
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
He
r
bert Xu
[OUTPUT] Add
i
f
defs
a
roun
d
MEM_OUT handling
in outmem
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
Herbert Xu
[OUTPUT]
Add l
i
kely tag in outmem
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
Herber
t
Xu
[INPUT] Re
p
lace open-code
d
flushall in preadbuf
f
er
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
H
e
rbert
X
u
[
B
UILTIN] Handle embedded NUL
s
correctly
i
n pr
i
n
tf
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-27
He
r
bert
X
u
[BUILTIN] Add pr
i
ntf support f
o
r
f
o
r
mat string a, A
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-08
Herbert
X
u
[EXPAND] Optimise nul
o
nly away and just use
q
uoted
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-08
Herb
e
r
t Xu
[
E
X
PAND] Do not split quot
e
d VSLENGT
H
and VSTRIM
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-08
He
r
ber
t
X
u
[EX
P
AND] Split un
q
u
oted
$
@
/
$* correctly when IFS is
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-07
Herbe
r
t
X
u
[VAR] Use setvar
e
q
t
o set O
P
TIND initially
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-06
He
r
bert Xu
[
B
UILTIN] Return
w
ithout arg
u
ments in a trap sho
u
ld
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-06
Herbert X
u
[BUILTIN] Al
l
ow
r
eturn in loop cond
i
tion
a
l to set exit
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-06
Herbert Xu
[EVAL]
M
ove
c
ommon skip
c
oun
t
lo
g
ic
into skiploo
p
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-06
H
e
r
b
ert Xu
[B
U
ILTIN] Do
not allow
break to break acro
s
s f
u
nction
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-06
Herbert Xu
[BU
I
LTIN] Exit without argu
m
ents in a trap
s
hould
u
s
e
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-03
Her
b
ert Xu
[EVAL] Do not clob
b
e
r
exitstatus
in e
v
alcomma
n
d
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-02
Herbert Xu
[ERRO
R
] Set exitstatus in o
n
int
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-02
Herbert Xu
[TRAP
]
M
a
ke sure evalskip i
s
zero befo
r
e
r
un
n
ing
t
ra
p
s
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-10-02
He
r
bert Xu
[EVA
L
] Fix us
e
-after-
f
ree in dotrap/
e
v
a
l
stri
n
g
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-09-29
Herbe
r
t
Xu
[
PARSER] Add nlprompt/nlnopro
m
pt
h
elpers
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-09-29
Herbert Xu
[P
A
RSER] Han
d
le
b
ackslash n
e
w
l
i
nes
p
ro
p
erly aft
e
r dollar
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-09-29
Herbert Xu
[INPUT] Kill
pgetc_macro
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-09-28
He
r
bert Xu
[BUILTIN]
C
orrectly
h
a
ndle test !
!
= !
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-09-26
Herbe
r
t
Xu
Release 0
.
5
.
8
.
commit
|
commitdiff
|
tree
2014-09-26
Herbert
Xu
[MAN] Chan
g
e
c
h
aracters for
p
rin
t
f pr
e
cisio
n
to bytes
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-09-26
Herb
e
rt
Xu
[B
U
ILTIN] Set command -p pat
h
to
/
usr/sbin
:
/us
r
/b
i
n
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2014-09-26
Herbe
r
t
Xu
[BUILTIN] Small opt
i
mis
a
tion of co
m
m
and -
p
v change
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2013-08-23
Herbert Xu
[BUILTIN] Fix
e
d
argu
m
ent
p
arsing
c
rash in
te
s
t
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2013-08-23
He
r
bert Xu
[
VAR] Initialise
O
PTIND
after impor
t
ing environme
n
t
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2013-08-23
Herbert Xu
[EXPAND] Propagate EXP_QPAT in subevalvar
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2012-02-25
Herber
t
Xu
[VAR] Sanitise
e
nvironm
e
n
t vari
a
ble names on entry
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2011-07-09
Herbert Xu
[B
U
ILTIN] Merge SKIPFUNC/SKIPFILE and only
clear SK
I
PFUNC
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2011-07-08
Herbert Xu
Re
l
e
ase 0
.
5
.
7
.
commit
|
commitdiff
|
tree
2011-07-07
Herb
e
r
t Xu
[BUILT
I
N
]
Eli
m
inate u
n
necessary promotion in echocmd
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2011-07-07
Herbert Xu
[SHELL] Optimiz
e
dash -c "com
m
and
"
t
o
avoid a f
o
rk
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2011-03-15
H
e
rbe
r
t Xu
[
P
AR
S
ER] Fix clobber
i
n
g of
checkkwd
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2011-03-11
Herbert Xu
[BUILTIN]
F
ix bac
k
slash ha
n
dling i
n
r
e
ad(1)
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2011-03-10
Herbert
Xu
[BUILTIN] F
i
x CTLESC
c
lobbering by
rea
d
(
1)
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-11-28
Herbert Xu
[E
X
PAND
]
F
r
ee IFS st
a
te
in
e
v
a
lbackcmd
>
Herbert Xu
wrote:
> > Author:
Herbert Xu
<herbert@gondor.apana.org.au>
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-11-28
Herbert Xu
[ERROR] Allow the origi
n
a
tor of EXERROR
to
s
et the
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-11-28
He
r
bert Xu
[EVA
L
] Fixed
trap/return
r
e
gression due to S
K
IPE
V
AL
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-10-18
Herbert
Xu
[E
X
PAND] Fix ifsfirst/
i
fslastp leak i
n
casematch
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-10-07
Herbert Xu
[BUI
L
TIN] Fix EXEXEC status cl
o
bb
e
ring
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-09-08
Herbert
Xu
[BUILTIN] Fix trailin
g
f
i
e
ld bug in
r
ead(1)
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-09-08
Herbert Xu
[EXPAN
D
] Fix if
s
firs
t
/ifsl
a
s
tp leak
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-07-06
Herb
e
rt Xu
[EVA
L
] Removed de
a
d code for eval NPIPE
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-07-06
Herbert Xu
[VAR] Fix loss o
f
variables wh
e
n
h
ash collides
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-28
Her
b
e
rt Xu
[BUILTIN] Cont
i
nue after
E
INTR
i
n
r
ead(1) wit
h
no pending
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-27
Herbert Xu
[JOBS
]
Fix wait
r
eg
r
essi
o
n
where it
d
oes
n
ot wait for
.
.
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-27
Herber
t
Xu
[REDIR
]
Fix p
o
predi
r
on abnormal exi
t
from
built-in
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-27
Her
b
e
r
t
Xu
[REDIR]
M
ove n
u
ll r
e
direct ch
e
cks into
caller
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-27
Herbert Xu
[VAR] Do not poplocalva
r
s prematu
r
ely on
re
g
ular
u
tilities
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-27
H
e
rbert Xu
[VAR] Document local co
m
mand
b
ehavi
o
ur
c
hange
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-27
Herbert Xu
[VAR] Fix poplocal
v
ar on abnormal
exit from f
u
nc
t
ion
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-26
Herbert Xu
[VAR]
R
eplace cmde
n
viro
n
with localvars
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-26
Herbert
X
u
[VAR] Move unsetvar functionality i
n
to s
e
tvareq
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-26
Her
b
ert Xu
[VAR] Fix poplocalvar leak
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-05-26
Herber
t
Xu
[V
A
R]
Add l
o
calvars nesting
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-04-02
Her
b
ert
X
u
[BU
I
L
T
IN
]
Use facc
e
s
s
at if ava
i
lable
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-04-02
Herbert
Xu
Releas
e
0
.
5
.
6
.
commit
|
commitdiff
|
tree
2010-04-02
Herbert Xu
[BU
I
LTIN]
M
a
ke t
r
ap
s
ignal name/number errors non-
f
atal
.
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-03-09
Herbert Xu
[
REDIR] Do not truncate file for FROMT
O
redirection
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-03-09
H
erbert Xu
[ARITH
]
Fix binary op
e
rator
p
arsing
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2010-03-09
H
e
rbert Xu
[
B
U
ILD] Fix changelog entry
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-11-26
Herbert Xu
[BUIL
T
IN] Fix of
f
-b
y
-one r
e
co
r
d
r
e
gion
i
n r
e
adcmd
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-08-31
Herbert Xu
[CD] Lookup
PW
D
after going through CDPATH
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-08-31
Herbert Xu
[BUIL
T
IN
]
Fix NU
L
t
erminat
i
on in readcmd
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-08-11
Herber
t
Xu
[EVAL] Re
v
e
r
t S
K
I
P
EVAL into EXE
X
IT
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-08-11
He
r
bert X
u
[EV
A
L] Pass EV_TESTED
i
n
to e
v
alcmd
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-06-27
Herbert
Xu
[EXPAND] Fix quot
e
d pa
t
tern patch breaka
g
e
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-06-27
H
e
rbe
r
t
Xu
[REDIR] Fix inco
r
r
e
c
t sav
e
fd conversions
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-02-22
Herb
e
rt
X
u
[PA
R
SER] U
s
e CHKNL t
o
par
s
e ca
s
e s
t
at
e
m
e
n
ts
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-02-22
Herbert Xu
[
P
ARSER] All
o
w newli
n
es afte
r
var name
in for stat
e
ments
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-02-22
Herbe
r
t X
u
[J
O
BS] Do
not close
s
td
e
rr
w
hen /dev/
t
ty
fails t
o
op
e
n
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-02-22
Herbert X
u
[SIGNAL] Rem
o
ve EXSIG
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-02-22
Herbert Xu
[
JOBS] Fix dowait signa
l
race
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-01-13
Herbe
r
t
Xu
Release 0
.
5
.
5
.
1
.
commit
|
commitdiff
|
tree
2009-01-13
Herber
t
X
u
[BUILD] Add arit
h
_yacc
.
h to dash_S
O
URCE
S
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2009-01-13
Herbert Xu
Relea
s
e 0
.
5
.
5
.
commit
|
commitdiff
|
tree
2008-10-17
H
erb
e
rt Xu
[MAN] Removed obs
o
let
e
for loop syntax
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2008-08-05
H
e
rbert Xu
[CD] F
i
xed getc
w
d build error f
o
r the
n
on-glibc case
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2008-07-13
H
er
b
ert Xu
[OPTIONS] A
d
ded su
p
port for -l
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2008-07-13
Herb
e
rt Xu
[SHE
L
L] Expand
ENV before
u
si
n
g i
t
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
2008-07-13
Herbert Xu
[INPUT
]
Made setinputf
d
static
Signed-off-by:
Herbert Xu
<herbert@gondor.apana.org.au>
commit
|
commitdiff
|
tree
next