11 lines
109 B
Bash
Executable File
11 lines
109 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -n "$1" ]; then
|
|
touch "$1"
|
|
chmod +x "$1"
|
|
vim "$1"
|
|
else
|
|
echo "No file specified"
|
|
exit
|
|
fi
|