home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Linux Special
/
CorelLinux_CHIP.iso
/
live
/
usr
/
bin
/
sensible-editor
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1998-08-16
|
213 b
|
9 lines
#!/bin/bash
shopt -s execfail
exec ${VISUAL:-${EDITOR:-editor}} "$@"
exec ae "$@"
exec vi "$@"
echo "Couldn't find an editor!" 1>&2
echo "Set the \$EDITOR environment variable to your desired editor." 1>&2
exit 1