This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting wind data into Pypilot
#47
You are correct, it works in bash. In fact the man page states (I have read a bit too quickly):
Read and execute commands from filename in the current shell en‐
vironment and return the exit status of the last command exe‐
cuted from filename. If filename does not contain a slash,
filenames in PATH are used to find the directory containing
filename. The file searched for in PATH need not be executable.
When bash is not in posix mode, the current directory is
searched if no file is found in PATH.

Anyway, on tinypilot 13:
tc@pypilot:~$ echo "echo hi" > foo
tc@pypilot:~$ . foo
-sh: .: foo: not found
tc@pypilot:~$ . ./foo
hi

A quick search about this ended up on this discussion https://busybox.busybox.narkive.com/tfMJ...after-path . It's from 5 years ago, when devs struggled to decide whether to keep the current directory on the search list (seems to be a bashism) or to follow POSIX. I'd say they finally settled up on the latter, although I'm too lazy right now to find the exact change in busybox github...

This is not the only effect of the new busybox however, 'timeout' syntax did change as well (see https://github.com/pypilot/pypilot/pull/119). And maybe others, who knows...
Reply


Messages In This Thread
Getting wind data into Pypilot - by kniven - 2022-08-12, 07:53 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-15, 02:52 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-13, 10:40 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-15, 04:38 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-15, 07:42 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-15, 11:44 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-16, 08:49 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 09:45 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-16, 05:39 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 06:21 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 11:38 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-19, 06:32 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-17, 07:29 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-19, 08:10 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-20, 06:52 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 07:56 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 09:47 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-22, 12:57 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 01:53 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-22, 03:31 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-23, 07:47 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-23, 10:44 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-27, 11:15 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-28, 01:29 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-27, 06:32 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-28, 05:42 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-29, 12:32 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-29, 06:30 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 05:32 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 06:08 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 07:55 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 09:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)