Allow '-' as an alias for stdin
Open
Nobody has claimed this yet.
auto-migrated
Priority-Medium
Type-Defect
- Dominant language
- Python
- Stars
- 349
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
This is a bug report from Debian, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520305 and if possible
include 520305-forwarded@bugs.debian.org in any follow up correspondence.
the freebsd port of the pssh toolset has been modified to allow '-' as an alias
for stdin in the host file specification
(http://www.freebsdsoftware.org/security/pssh.html). this feature is included
in other tools (e.g., fping) and is very useful in them. could it be
implemented here?
Original issue reported on code.google.com by and...@pollock.id.au on 12 May 2014 at 12:13
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the host file specification parser and the tests covering host input. Verify how stdin is currently represented, then implement the requested '-' alias and add or update a regression test showing that host data can be read from stdin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100