Bash M1## how to use the P word

More
5 years 1 month ago #220770 by Aciera
Replied by Aciera on topic Bash M1## how to use the P word
I think it doesn't like the space after the variable name.

So try:

P=${1%.*}
Q=${2%.*}
The following user(s) said Thank You: my1987toyota

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #220786 by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
when I get a chance I will give it a try Aciera.

Anfanger, Unfortunately I can't currently read German however I can always try translating the words .
From what I have seen from your site their are a lot of good example to examine.

Thank you both for your help thus far.
Last edit: 5 years 1 month ago by my1987toyota. Reason: updating info

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #220791 by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
IT WORKS !!!!
thank you both for the help.
Do either of you have any objections to me posting the working code on the Pick and Place section ?
I am sure others would benefit from seeing working examples of the M100 - M199 bash codes.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #220794 by Aciera
Replied by Aciera on topic Bash M1## how to use the P word
No objections whatsoever.

Please Log in or Create an account to join the conversation.

  • anfänger
  • Away
  • Platinum Member
  • Platinum Member
More
5 years 1 month ago - 5 years 1 month ago #220797 by anfänger
Replied by anfänger on topic Bash M1## how to use the P word
Good to hear its running!
Please share the more examples are out there the easier it gets f other to find their way around.
And sorry for having my blog in German, but it is more or less a documentation for me and German is my native language.
This whole machining stuff is just a hobby, so when I am not at home I have no access to my scripts.

one last thing what and wahre is ist pick and place section?
Last edit: 5 years 1 month ago by anfänger.
The following user(s) said Thank You: my1987toyota

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #220830 by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
anfanger no need to apologize for your blog being in your native language .
The pick and place section is here [url] forum.linuxcnc.org/pnp [/url]

The Pick and Place stuff has been more of a self challenge. Just to
see if I can do it and to see how much I can learn in the processes .

Please Log in or Create an account to join the conversation.

Time to create page: 1.439 seconds
Powered by Kunena Forum