7 lines
99 B
Bash
Executable file
7 lines
99 B
Bash
Executable file
#!/bin/sh
|
|
|
|
[ -z "$1" ] && echo 'Missing filename!' >&2 && exit 1
|
|
|
|
touch "$1"
|
|
chmod +x "$1"
|
|
vi "$1"
|