# The special parameter $*, within double quotes,
# expands to the positional parameters, starting from one,
# as a single word with the value of each parameter separated
# by white space (the first character of the IFS special variable).
# It is necessary if the passed file name has spaces.
Correction!
The small script above should be:
#!/bin/bash
ooimpress -n "$*"
exit
# The special parameter $*, within double quotes,
# expands to the positional parameters, starting from one,
# as a single word with the value of each parameter separated
# by white space (the first character of the IFS special variable).
# It is necessary if the passed file name has spaces.