On 07/03/13 05:37, Steven M. Schweda wrote: >>> wget --options=POST `cat POSTdata` URL >> Why not go with that? > Apparently "always" means something to you which is different from > what it means to me. > > It may be hard to believe, or you may not care, but some folks use > this program on non-UNIX(-like) systems (VMS, for example), where such > UNIX(-like) shell tricks are not available. Even on UNIX(-like) > systems, some old shells may have limited command-line length. Some > users might not want the contents of their file exposed to every user on > the system who can run "ps". > > How many reasons do you need not to wreck existing functionality? Or people may simply want to send a newline in the post data.
> So then how to unify --post-data and --post-file into one option? I too am > not a bid advocate of changing the meaning according to the content but > that seemed like the easiest way forward. Don't do it.
