Skip to content

export Actions to a file and have someplace we can share them #125

@rcrath

Description

@rcrath

Save actions to a file and have a place available where we can share them. I wrote (i.e. copied some code and teaked it) two that I get a lot of use from. One to remove newlines to format a paragraph from something like a copy from PDF, where each line has a CR/LF.

perl  -p -i -e 's/\n/~!@/g'|perl  -p -i -e 's/~!@~!@/\n\n/g'|perl  -p -i -e 's/ ~!@/ /g'|perl  -p -i -e 's/~!@/ /g'

And another to do title case, as in "The Capitalization in a Book Title" which is in a separate perl file that the action links to.

It would be great to have a centralized place to keep them and a way of exporting them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions