$@ pasted by andyjpb on Fri Aug 18 21:57:30 2023
----- $ cat a #!/bin/sh echo "1: $1" echo "2: $2" echo "3: $3" echo "b:" ./b $@ echo "b:" ./b $@ ----- ----- $ cat b #!/bin/sh echo "1: $1" echo "2: $2" echo "3: $3" ----- ----- $ ./a x 'y a' z 1: x 2: y a 3: z b: 1: x 2: y 3: a b: 1: x 2: y 3: a -----
$@ added by andyjpb on Fri Aug 18 21:59:17 2023
----- $ cat a #!/bin/sh echo "1: $1" echo "2: $2" echo "3: $3" echo "b:" ./b $@ echo "b:" ./b "$@" ----- ----- $ ./a x 'y a' z 1: x 2: y a 3: z b: 1: x 2: y 3: a b: 1: x 2: y a 3: z -----