sad icon indicating copy to clipboard operation
sad copied to clipboard

Failed to work on linux /dev/stdin error

Open ray-x opened this issue 3 years ago • 2 comments

It seems not working on linux (archlinux) I tried the latest version and release version. Both have the following errors:

Error:
ArgumentError(
    "/dev/stdin connected to tty",
)

ray-x avatar Feb 13 '22 21:02 ray-x

I got the same thing. I think it only works with a stdin like fd .. | sad arg arg. possibly to select which files it should target for search and replace instead of defaulting to the current directory

zach-is-my-name avatar Mar 30 '22 21:03 zach-is-my-name

Thanks @zach-is-my-name. It was entirely a pebkac error. Using sad as instructed and it works exactly as designed.

jm-janzen avatar May 05 '22 13:05 jm-janzen

How did you guys install it on linux npm???

wakywayne avatar Dec 22 '22 19:12 wakywayne

@wakywayne I was using yay on archlinux. As for the issue itself zach is correct.

ray-x avatar Dec 23 '22 06:12 ray-x