Posted: Mon 28 Nov 2011, 10:29 Post subject:
"Help Service Helper" in "Quirky Linux 1.40" ! only script Subject description: When there is a problem to read help page.
Quote:
Install_HFH.sh
Code:
#!/bin/bash
#
#HFH = Help Service Helper
#
#Example of use: hlp dialog
#
#echo 'echo "$@ --help 1>& 2>& /tmp/.hlp ;" >/tmp/.ghlp ; chmod 0600 /tmp/.ghlp ; sh /tmp/.ghlp ; dialog --no-ok --editbox /tmp/.hlp 22 80 ; rm /tmp/.hlp /tmp/.ghlp' >/usr/local/bin/hlp ;
echo 'echo "$@ --help 1>& 2>& /tmp/.hlp ;" >/tmp/.ghlp ; chmod 0600 /tmp/.ghlp ; sh /tmp/.ghlp ; less /tmp/.hlp ; rm /tmp/.hlp /tmp/.ghlp' >/usr/local/bin/hlp ;
chmod 0100 /usr/local/bin/hlp ;
#
if [ `ps -eocomm | grep -x xinit` ] ; then
echo -e "The -=HFH - Help Service Helper=- program is ready for use."|xmessage -file - ;
else
echo "The -=HFH - Help Service Helper=- program is ready for use." ;
fi
Edit: 2012, jan 09.
A script's content can be copied into text editor by means of <Quote> mode. _________________
I don't know why laboratories are named a hospitals.
The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum