If doing even simple things requires looking up documentation, why does it matter whether the shell script is long or short?
Spending extra time doing simple things — because you need to Google e.g. "how to pass multiple space-separated arguments from a string to a command" — is also a waste of time.