GoogleCloudPlatform / GoogleCloudPlatform/gsutil
-d and -D output should go to stderr not stdout
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
_Original author: paulnew...@google.com (April 05, 2011 23:37:36)_
What steps will reproduce the problem?
1. gsutil -d getacl gs://bucket_name/object_name > acl
2. gsutil -d setacl acl gs://bucket_name/object_name
What is the expected output? What do you see instead?
I expect to see debug output on the console (via stderr) while the ACL xml is captured in the acl file.
Instead the acl file gets all the debug information as well, and cannot be used as input into the setacl command.
In general, the unix convention is to send debug output and prompts to stderr, and output meant for downstream programs to stdout. gsutil should probably follow that convention.
_Original issue: http://code.google.com/p/gsutil/issues/detail?id=57_
Contributor guide
Assessment
This issue has not been assessed yet.