HomeFreeBSD

sh: Simplify expari().

Description

sh: Simplify expari().

Redo expari() like evalvar(). This makes the logic more understandable and
avoids possible problems if arithmetic expansion occurs if CTLESC characters
are not generated (looking backwards for CTLARI is not generally possible in
that case but the old code tried anyway).

This adds an extra argstr() recursion.

Details

Provenance
jillesAuthored on
Parents
rS262696: Add __attribute__((used)) so that the delay implementation doesn't get
Branches
Unknown
Tags
Unknown

Event Timeline