Posted: Mon 28 Nov 2011, 10:29 Post_subject:
"Help Service Helper" in "Quirky Linux 1.40" ! only script Sub_title: 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.
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum