Thread
:
[Announce] Cmdmaker.. Converts ur sh script to simple commands
View Single Post
x-lette
2011-01-23 , 18:44
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#
7
Really funny thing that script (weird kind of humour you have)
Some ideas for improvement:
don't copy script file but create a symlink to it
create that link (or put the copy) in /home/user/bin, as /usr/bin is for system binaries and not for own created files. In FSH the correct place would be /usr/local/bin but that's not handled correctly by Nokia.
add /home/user/bin to $PATH (needs editing some login script)
test if
command
already exists and prompt user for confirmation if it does
do some error handling
Besides that, some nice idea.
Quote & Reply
|
x-lette
View Public Profile
Send a private message to x-lette
Find all posts by x-lette