> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/programming_tasks/m/multiline_shebang.md).

# Multiline shebang

```ruby
#!/bin/sh
 
#`(if running under some shell) {
    eval 'exec /usr/bin/sidef $0 ${1+"$@"} "world"'
}
 
say "Hello, #{ARGV[0]}!"
```

#### Output:

```
$ ./script.sf
Hello, world!

$ ./script.sf Sidef
Hello, Sidef!

$ sidef script.sf RosettaCode
Hello, RosettaCode!
```
