holzschu / holzschu/a-shell

Issues With Sed In Shortcuts

Open
#149 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

Running this in iOS Shortcuts Execute Command (run in app option selected)

pbpaste | sed -e 's|..*/file/||g' -e 's|^|https://api.example.com/v1/|' -e 's|$|/request.json|' | pbcopy
open shortcuts://

makes a-shell just return to the prompt (also without the pbcopy). Manually running this command in the app works fine, but using a shortcut it doesn't, and the return to shortcuts as the following command also never gets executed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.