Skip to content

Shell Functions example on ptpb.pw needs clarification #196

@superguest

Description

@superguest

pbx () { curl -sF "c=@${1:--}" -w "%{redirect_url}" 'https://ptpb.pw/?r=1' -o /dev/stderr | xsel -l /dev/null -b }

What does the 'r=1' do? Can you tell me where this is documented?
Also, are you sure you want to send the output to /dev/stderr when xsel is expecting input from the pipe?

Please direct me to a more appropriate (IRC?) support channel if this is not the place to ask.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions