Re: How get last commnda history line number directly

2020-09-09 Thread Greg Wooledge
On Wed, Sep 09, 2020 at 11:29:01AM -0700, L A Walsh wrote: > On 9/8/2020 5:11 AM, Greg Wooledge wrote: > > On Sun, Sep 06, 2020 at 01:18:22PM -0700, L A Walsh wrote: > > > > as it's pure & directly viable in PS1 env. var. > > > > PS1=`echo \!` > > > --- > > > Doesn't work if you don't have '!' supp

Re: How get last commnda history line number directly

2020-09-09 Thread L A Walsh
On 9/8/2020 5:11 AM, Greg Wooledge wrote: On Sun, Sep 06, 2020 at 01:18:22PM -0700, L A Walsh wrote: as it's pure & directly viable in PS1 env. var. PS1=`echo \!` --- Doesn't work if you don't have '!' support (I generally found '!' more often did unwanted things, but I never used csh

Re: How to do if any (if no so a feature request) to do break continue

2020-09-09 Thread L A Walsh
On 9/2/2020 2:31 AM, almahdi wrote: As break 2 is disrupting and exiting loop twice, How is breaking something not somewhat inherently disrupting? from current and next outer scope then how to do if any (or as a feature request) to do /break continue/ that is to break then immediately continu