Skip to content

Add nicer output for generating arguments from command substitution sub shells, automatically select it for command substituion sub shells, auto select current line separated output if stdout is pipe or file. Allow short cmdline override for picking one or other but now  #361

Open
@rtaycher

Description

@rtaycher

Problem
Current output for multiple selection is line oriented.
While line oriented works well for piping into other tools it doesnt work so well when passing arguments by wrapping TV in q subshell. Like.

mv $(tv) /tmp

If you try to select multiple items in TV this will output line separated and won't work.

I think a single gle quoted string would work. If there are single quotes in the middle I think they can be replaced with '''
So for instance something like

my dog's homework.docx

Would become
'my dog'''s homework.docx'
Which I think would be treated as a single argument with spaces and a single quote concatenating
1)my dog
2)'
3)s homework.docx

By most Unix shells.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions