Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-575

Add support to dsconfig for reading batch files from STDIN

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.4.6
    • Fix Version/s: 3.0.0
    • Component/s: tools
    • Labels:
      None
    • Environment:
      *nix

      Description

      The F/-batchFilePath option does not allow reading batch operations from STDIN. Please consider adding support for reading batch operations from from STDIN. It is common practice for programs to accept a bare hyphen/dash to mean STDIN.

      Consider:

      #!/bin/sh

      dsconfig -n -F - <<EOF
      command-one -x -y -z
      command-two -z -y -x
      EOF

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                alanevans alanevans
                Dev Assignee:
                Matthew Swift
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: