It was a good idea, but that gives me zsh which is what in this case BBEdit uses to execute the script. So with your code of $ENV, then I looked at the variables within ENV and picked one that was there for BBEdit and not there in a normal terminal run. Know other ways, but this at least is one way to accomplish the task..
Thanks much for getting the mind going. I appreciate the thought and it did help... ;) WagsWorld World of Perl Hebrews 4:15 Ph D:(408)914-1341 Ph M:(408)761-7391 On Nov 21, 2020, 16:03 -0800, sisyphus <sisyphus...@gmail.com>, wrote: > Perhaps: > perl -le 'print $ENV{SHELL}' > > Cheers, > Rob > > > On Sun, Nov 22, 2020 at 8:00 AM wagsworld48 via beginners > > <beginners@perl.org> wrote: > > > Mind is blank, but want to know if started with say BBEdit or bash or ? > > > > > > Probably very simple, but at this point, no idea... ;) > > > > > > WagsWorld > > > World of Perl > > > Hebrews 4:15 > > > Ph D:(408)914-1341 > > > Ph M:(408)761-7391