sistema_progs

Programas para customizar o meu entorno de traballo nos meus equipos persoais
Log | Files | Refs

T0005.source-arguments-in-func.bashrc (234B)


      1 # bashrc -*- mode: sh-bash; -*-
      2 
      3 sub=T0005.source-arguments-in-func.source.sh
      4 
      5 function sourcer1 { source "$sub"; }
      6 function sourcer2 { source "$sub" x; }
      7 
      8 sourcer1 A B C
      9 sourcer2 A B C
     10 shopt -s extdebug
     11 sourcer1 A B C
     12 sourcer2 A B C