A port of the GTK+3 Hello World to Bash
21–27 of 27 posts
Re: A port of the GTK+3 Hello World to Bash
#22I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
Re: A port of the GTK+3 Hello World to Bash
#23tightly packed portable version of this code -------------------------------------------------------- #!/usr/bin/env bash cat package require Tk pack [button .b -text {Push Me} -command { tk_messageBox -message {hello, world} }] EOF -------------------------------------------------------- Of course doing it directly in Tk Tcl would be even more portable, readable, simple and smarter and easier to deploy/maintain. And…
#!/bin/sh
# \
exec wish "$0" ${1+"$@"}
( You wouldn't need the cat pipe. )Re: A port of the GTK+3 Hello World to Bash
#24I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
Since I haven't heard any screams of anguish coming from Windows people, I wouldn't worry about it.
Re: A port of the GTK+3 Hello World to Bash
#25I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
Would you rather that something like this not be possible or that people would not create things like this?
Re: A port of the GTK+3 Hello World to Bash
#26I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
Re: A port of the GTK+3 Hello World to Bash
#27I don't know if this is awesome or just sick.