Bash... in Snap!

Well this won’t have it, here:

echo ‘hello world’

user presses enter, output looks like:

echo ‘hello world’
hello world

I've done some playing around with splitting a command into its name and inputs. A few bugs like you have to do testvar = "hello world" insted of testvar="hello world".

Here's the link:
Snap! Bash line splitter (berkeley.edu)

But "echo" isn't part of bash. It's a separate program, located in /bin/echo on a Unix system. What's part of bash, in your example, is that the single-quote characters delimit a single input to echo, rather than two inputs.

(Actually in the case of echo it'd work just as well without the quotes, because echo takes multiple inputs and prints them with spaces between, kind of like JOIN WORDS.)

Quotation also prevents filename expansion. So if you say

echo *.txt

You'll see something like

foo.txt baz.txt garply.txt

unless you don't have any files whose names end ".txt" in which case you'll see

*.txt not found

But if you say

echo '*.txt'

the result is

*.txt

Ok just this editor needs the basics functions of Bash or what you would see in a Bash editor: echo, variable creation, printing variables, setting variables, and maybe some more.

Conditionals and loops, I hope.

I know that there is a command called

set /p = Hello world!

in .bat.

Well I need help, but no one has said they would help so far.

Compile Bash Command --> Snap! Blocks

Ah. Interesting idea.

You know what a compiler is, right? (just asking)

Don't teach grandpa how to suck eggs.

OK.

It’s kind of an obvoius answer lol.

:~)