Is this supposed to work?

function f() {
  set x="$1"
  set y="$2"

  echo "${x} ${y}"
}

f "a" "b"
f "c" "d"

In my testing the positional arguments are not provided to f().
At least when the code above is loaded via 'configfile "${var}"'.

Olaf

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to