-
Notifications
You must be signed in to change notification settings - Fork 0
viperML/bangscript
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
$ cat script.py #! /usr/bin/env -S bs # set -x # dir="$XDG_RUNTIME_DIR/test" # mkdir -p "$dir" # cd "$dir" # echo "hello" > file # python3 "$FILE" with open("file", "r") as f: contents = f.read() print(contents) $ ./script.py + dir=/run/user/1000/test + mkdir -p /run/user/1000/test + cd /run/user/1000/test + echo hello + python3 /home/ayats/Documents/script-bang/script.py hello
About
Embed scripts in a shebang
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published