ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

grep and history file error

Open Daiatt opened this issue 2 years ago • 2 comments

Version: 3.4.0 OS: Arcolinux Shell: zsh Anime: Code Geass Lelouch of The Rebelion R2

Describe the bug *grep error (invalid argument) after selecting episode (video still playing fine) *duplicating entry in history file (in this case Code Geass Lelouch of The Rebelion R2).

Steps To Reproduce

  1. Run ani-cli code geass
  2. Choose 8 (Code Geass Lelouch of The Rebelion R2)
  3. Choose episode 1

Expected behavior No grep and history file error

Screenshots ani-cli grep error

anihist duplication in history file

Daiatt avatar Sep 17 '22 13:09 Daiatt

maybe this is an issue that happened after using different versions of ani-cli. have you tried deleting the history file and using the script again? if you still encounter the issue can you send me the output of sh -x $(which ani-cli) -c so that i can see where it breaks

justchokingaround avatar Sep 18 '22 19:09 justchokingaround

nvm my comment, i get the issue now, working on it

justchokingaround avatar Sep 18 '22 19:09 justchokingaround

@justchokingaround , are you still working on this? Otherwise I've already created a PR which addresses the issue

0WN463 avatar Oct 29 '22 02:10 0WN463

will check it out later today :+1: thanks

justchokingaround avatar Oct 29 '22 02:10 justchokingaround

#920

Derisis13 avatar Nov 08 '22 23:11 Derisis13