[Ilugc] Shell script with arguments

  • From: lawgon@xxxxxxxxxxxxxxx (kenneth gonsalves)
  • Date: Tue, 17 Jul 2012 18:05:51 +0530

On Tue, 2012-07-17 at 17:57 +0530, Vijay Kumar wrote:

For example, if I type in pkgscript.sh a1 a2 a3, it should install all
the
3 scripts and pkgscript.sh a1 should install only a1.

If a user enters only pkgscript.sh, it should ask for arguments and
then
proceed accordingly. 

does not yum or apt-get do this?
-- 
regards
Kenneth Gonsalves


Other related posts: