Re: Is this bit of scrip a reasonable way to test something

2022-01-02 Thread Vlado Keselj
It looks good to me. On Sun, 2 Jan 2022, hput via beginners wrote: > I was just coding in in ksh93 for simple script but tangled up with > way matching and regex work in ksh93. > > Finally trashed it turned to perl. > > Just have familiarity with one way of test in shell script: > > Put it i

Re: Is this bit of scrip a reasonable way to test something

2022-01-02 Thread Hal Wigoda
TOMTOWTDI (Sent from iPhone, so please accept my apologies in advance for any spelling or grammatical errors.) > On Jan 2, 2022, at 9:29 PM, hput via beginners wrote: > > I was just coding in in ksh93 for simple script but tangled up with > way matching and regex work in ksh93. > > Finally

Is this bit of scrip a reasonable way to test something

2022-01-02 Thread hput via beginners
I was just coding in in ksh93 for simple script but tangled up with way matching and regex work in ksh93. Finally trashed it turned to perl. Just have familiarity with one way of test in shell script: Put it in an if clause like (in shell): if [ cd somedir ];then print "ok permissions we