On Sun, 04 Dec 2016 19:16:28 +0100,
ng0 wrote:
> 
> I think the next release image for GuixSD should include
> wgetpaste as a tool. This would make it possible for people who
> are stuck in the image and who are doing the installation, to
> paste the config.scm or any other command output.
> 
> Are there any security concerns, or is this something we can do?
> If the majority should be against it, another option I can think
> of is that we add it to the documentation as a general suggestion
> to search for "pastebin" with "guix package -s pastebin" and
> install one of the available pastebin clients (there'll be more
> than one at some point).

Good idea.

I like the http://sprunge.us/ solution. It uses curl and has support
for syntax highlighting.

With shell function like this:
sprunge() {
  curl -F 'sprunge=<-' http://sprunge.us
}

you can do:
$ command | sprunge
$ sprunge < file

So it mimics UNIX filosophy and has tiny dependency.

Best regards,

S_W

Reply via email to