configtxlator: error: open /dev/stdout: permission denied, try --help


Siddharth Jain
 

Hello

I have a simple question. I am trying to copy the output of configtxlator but get this error

```
$ configtxlator proto_decode --input ./foo.block --type common.Block | pbcopy -
configtxlator: error: open /dev/stdout: permission denied, try --help
```

I also tried using sudo but it still gives the error. For comparison below does not give me any error

```

$ echo "Hello World" | pbcopy -

```

Does anyone know how I can fix this? thanks

Join fabric@lists.hyperledger.org to automatically receive all group messages.