Re: [Emc-users] LinuxCNC 2.7 manual typo
On Fri, 28 Sep 2018 at 10:31, Rene Hopf via Emc-users wrote: > > done. thanks! Oh dear, I think we will have a merge conflict: https://github.com/LinuxCNC/linuxcnc/commit/af43e5604af2d1d7a318c7318d0b4f417feac03f -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] LinuxCNC 2.7 manual typo
done. thanks! > On 28. Sep 2018, at 08:42, Luka Kavčič wrote: > > Another one > > page 199 > 5.2.2.4 Number > at the end of the section > "A decimal number which is supposed (*to*) be close to an integer > is considered close enough if it is within 0.0001 of an integer." > > > Luka > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] bash & . ./scripts/rip-environment, moved directory?
The directories was ok. The problem was my way to write the script. I solve with these one. (sorry for my bad language I'm in EU). #!/bin/sh cd '/home/bmeccoffice/linuxcnc-dev' scripts/rip-environment linuxcnc regards bkt Il giorno gio 27 set 2018 alle ore 19:36 Nicklas Karlsson < nicklas.karlsso...@gmail.com> ha scritto: > On Thu, 27 Sep 2018 19:00:00 +0200 > theman whosoldtheworld wrote: > > > I try to run this simple script: > > > > #!/bin/sh > > > > cd '/home/bmeccoffice/linuxcnc-dev' > > > > . ./scripts/rip-environment > > > > linuxcnc > > but in terminal I get an error about . ./ obviusly in a bash script is > not > > accept these command (. space .) there are other way to write it? > > No but if files are moved to other directory I think it does not work. > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] bash & . ./scripts/rip-environment
Thanks at all .. i solve in these way: #!/bin/sh cd '/home/mypc/linuxcnc-dev' scripts/rip-environment linuxcnc Il giorno ven 28 set 2018 alle ore 05:13 Dewey Garrett ha scritto: > In > theman whosoldtheworld writes: > > >I try to run this simple script: > >#!/bin/sh > > /bin/sh is typically NOT the bash shell: > > $ which bash > /bin/bash > > so, try using: > #!/bin/bash > > > Aside: use of the dot (.) notation for sourcing a file is sometimes > confusing to new users. The following are equivalent in the > bash shell: > > . path_to_some_file > source path_to_some_file > > Ref: man bash > > -- > Dewey Garrett > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] LinuxCNC 2.7 manual typo
Another one page 199 5.2.2.4 Number at the end of the section "A decimal number which is supposed (*to*) be close to an integer is considered close enough if it is within 0.0001 of an integer." Luka ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users