Sha256: aa615991bb00e81f0f4614cd732d36239b40652a23ce3e38a7d89c48c3c9c546

Contents?: true

Size: 233 Bytes

Versions: 10

Compression:

Stored size: 233 Bytes

Contents

{{works with|Bourne Shell}}
#!/bin/sh
echo "Hello world!"

==={{header|C Shell}}===
#!/bin/csh -f
echo "Hello world!\!"

We use \! to prevent history substitution. Plain ! at end of string seems to be safe, but we use \! to be sure.

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/unix_shell.txt
zettacode-0.1.6 files.zettacode/hello_world.text/unix_shell.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/unix_shell.txt
zettacode-0.1.5 files.zettacode/hello_world.text/unix_shell.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/unix_shell.txt
zettacode-0.1.4 files.zettacode/hello_world.text/unix_shell.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/unix_shell.txt
zettacode-0.1.3 files.zettacode/hello_world.text/unix_shell.txt
zettacode-0.1.2 files.zettacode/hello_world.text/unix_shell.txt
zettacode-0.1.1 zettacode.files/hello_world.text/unix_shell.txt