This repository has been archived on 2024-11-22. You can view files and clone it, but cannot push or open issues or pull requests.
zenity/help/fi/l10n_scripts/text_info.sh

17 lines
377 B
Bash
Raw Normal View History

#!/bin/sh
FILE=`zenity --file-selection \
--title="Valitse tiedosto"`
case $? in
0)
zenity --text-info \
--title=$FILE \
--filename=$FILE \
--editable 2>/tmp/tmp.txt;;
1)
echo "Tiedostoa ei valittu.";;
-1)
echo "Tiedostoa ei valittu.";;
esac