Question du test Bash - Les bases

Écrire une fonction bash qui prend 3 paramètres et affiche le premier et le dernier.

Intermédiaire

Soit le script suivant :

#/bin/bash

function maFonction
{ 
echo $1 
shift 1
echo $2
}
maFonction $1 $2 $3