ripz icon indicating copy to clipboard operation
ripz copied to clipboard

Attempts to parse command substitutions

Open mustaqimM opened this issue 6 years ago • 1 comments

Given a command:

upower -i $(upower -e | rg BAT) | rg state | awk '{print $2}'

ripz tries to parse it and throws an error with the output:

regex parse error:
    .*='{0,1}upower -i $(upower -e | rg BAT) | rg state | awk '{print $2}''{0,1}
                                                                ^
error: decimal literal empty
discharging

mustaqimM avatar Apr 09 '19 05:04 mustaqimM

@mustaqimM I think I do not have enough bandwidth to maintain this project - I can archive, and make a note allowing anyone who wants to take over, but it seems very hacky code...

jedahan avatar Apr 14 '19 02:04 jedahan