Multi-line and piped commands #59
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
akinus/akclip#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It seems like akclip can only copy one-line commands with no pipes. For instance. If I run:
akclip ps -aux | grep "akclip"
it will not work as intended. Some times it will throw a failure, sometimes it will just do nothing. I want akclip to be usable in all these ways:
Piped Commands:
akclip ps -aux | grep "akclip"
Multi-line commands:
akclip command 1
command 2
Joined commands:
akclip command 1 && command 2
Pipe INTO akclip:
ps -aux | grep "akclip" | akclip
akclip should capture the output of everything that comes after it, whether it be pipes, interactive output (like -f to follow journals), joined commands, etc...
I am not opposed to having to format commands like an array, but ONLY if I have to. ie:
akclip [ps -aux, ls -la, df -h]
Whatever the best solution is, so as not to change the language or syntax of the original commands too much.
Auto-closed: an AI-generated fix has been opened as a PR against the devops branch. Merge it to land the change.