File: vi

package info (click to toggle)
live-config 5.20190519
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 852 kB
  • sloc: sh: 2,248; makefile: 128
file content (16 lines) | stat: -rwxr-xr-x 181 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

echo
echo "live-config hook: vi"

_FILENAME=""

while [ "${_FILENAME}" != q ]
do
	echo
	echo -n "Enter filename [q for quit]: "

	read _FILENAME

	vi "${_FILENAME}"
done