GithubHelp home page GithubHelp logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
meant to enter as enhancement but can't seem to change it.

Original comment by [email protected] on 2 May 2011 at 10:34

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
This was not intentional, but also I'm not exactly sure what the
change in behavior was from your description (sorry). I don't remember
any indentation from recent dshbak, but I'll go back and try a version
from before the refactor.

Would you mind pasting some output from the two versions (include the version
of pdsh from each output). That will help a lot.

Thanks, and sorry. It is toward the end of the day on a Monday ;-)
mark

Original comment by [email protected] on 2 May 2011 at 10:55

  • Changed state: Accepted

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
The output lines were indented by one column:

    ----------------
    mpws[108-208]
    ----------------
     pdsh-2.23-1.el6.x86_64
    ----------------
    mpws[209-308]
    ----------------
     pdsh-2.25-1.el6.x86_64

is now:

    ----------------
    mpws[108-208]
    ----------------
    pdsh-2.23-1.el6.x86_64
    ----------------
    mpws[209-308]
    ----------------
    pdsh-2.25-1.el6.x86_64

which seems less readable.  Old version was that from
2.11, new was with trunk.

Controllable indent with a new dshbak option might be a
good solution.  Maybe I will give it a whirl; in the
meantime current behavior is fine.  I only meant it as
enhancement, not bug.

Original comment by [email protected] on 2 May 2011 at 11:32

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
Hm, I guess the change was intentional 
(see r1158) This change went into pdsh-2.16 (2008-03-19)
and I guess the extra space (which is actually added
by pdsh in output "host: <output>"), was reported as a bug.

I would be happy to work on or take a dshbak option to prefix output
with a configurable string.

Original comment by [email protected] on 2 May 2011 at 11:43

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
The new format is probably better because it's easier
to parse and/or filter for additional processing.

Not a big deal... just kind of curious, erroneously
thought it was part of the dshbak refactoring.  I will
maybe give a try sometime if it really bothers me...
you can close the ticket if you like and if I ever get
around to it I'll just send a patch in.

Thanks!

Original comment by [email protected] on 3 May 2011 at 12:08

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
Yeah, I think the idea was that the output in dshbak should be the output that
actually came from the node(s). (Not the output plus leading whitespace)

If you really need an option to prefix output with something, then we can open
another issue. (it actually should be fairly easy, a couple lines of perl),
but if you don't really _need_ it, I'd rather leave dshbak as is. :-)

Original comment by [email protected] on 3 May 2011 at 8:13

  • Changed state: WontFix

from pdsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.