[Cin] arm/termux series (possibly broken on x86)
Phyllis Smith
phylsmith2017 at gmail.com
Fri Nov 19 05:37:15 CET 2021
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 sge at nmr.nioch.nsc.ru
>
> _______________________________________________________________________________
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211118/00e6020e/attachment.htm>
More information about the Cin
mailing list