[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

shell script puzzle



When I run this one line script, on a sarge system,

  debsums -ca --generate=all --deb-path=/mnt/$1/install/deblinks

here is how ps aux -H displays the resulting process:

  /usr/bin/perl -w /usr/bin/debsums -ca --generate=all --deb-path=/[...]

I always thought the shell defaulted to bash or ksh, which is why I never put the #!/bin/sh at the top of the file, and this and all my dozens of other bash scripts seem to work as expected. Why and how is perl being invoked here?



Reply to: