You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm coming from Linux experience and have been investigating whether I can use Swiftlang for general scripting instead of Bash.
I came across this repo, but the documentation is very confusing as you write "swift sh" in most places.
I'm using 5.10.1, and swift-sh builds without issue.
I copy .build/debug/swift-sh to /usr/local/bin as I would expect
swift is a launcher. swift foo will cause swift to search for swift-foo in the PATH and launch that if it finds it. So both work. Sorry if the docs are confusing.
I'm coming from Linux experience and have been investigating whether I can use Swiftlang for general scripting instead of Bash.
I came across this repo, but the documentation is very confusing as you write "swift sh" in most places.
I'm using 5.10.1, and swift-sh builds without issue.
I copy
.build/debug/swift-sh
to/usr/local/bin
as I would expectI then use the Promise Example as follows:
Please note I use "swift-sh" as based on my Linux experience, "swift sh" does not work.
My script above works fine, and I am very impressed.
Are these "swift sh" un-noticed typos, or is there something else I should know.
The text was updated successfully, but these errors were encountered: