3 # Copyright © 2023 Nick Bowler
5 # Fake msgfmt program for testing.
7 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
8 # This is free software: you are free to do what the fuck you want to.
9 # There is NO WARRANTY, to the extent permitted by law.
14 arg=${lastarg:+"$lastarg="}$arg
17 save_IFS=$IFS; IFS='='
18 set x $arg; shift; shift; optarg=$*
22 -o|--output-file) lastarg=--output-file ;;
23 --output-file=*) outfile=$optarg ;;