As always, thanks.  I checked the change in to GIT --  I learn something
new every day ! ...Phyllis

> > >       CPUS=`nproc`
> > > > Is that correct?
> >
> > Yes, please change it to
> >       CPUS=nproc
> >
> > The single quotes are not needed, those are to prevent shell expansion
> > within the quotes.
>
> Attention, it is absolutely not the same, whether in backquotes or
> unquoted.
> Backquotes mean that the shell tries to execute the quoted contents as a
> command and substitute the standard output of that command as the result.
>
> Please compare and see the difference:
>
> mri.sge:~>nproc
> 2
> mri.sge:~>CPUS=nproc
> mri.sge:~>echo $CPUS
> nproc
> mri.sge:~>CPUS=`nproc`
> mri.sge:~>echo $CPUS
> 2
>
> (there are 2 cores on the test computer, mri.sge:~> being the shell prompt)
>
> _______________________________________________________________________________
>
> Georgy Salnikov
> NMR Group
> Novosibirsk Institute of Organic Chemistry
> Lavrentjeva, 9, 630090 Novosibirsk, Russia
> Phone   +7-383-3307864
> Email   s...@nmr.nioch.nsc.ru
>
> _______________________________________________________________________________
>
> --
> Cin mailing list
> Cin@lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to