Repository navigation
|
Suppose, I have a directory of JPEG files, and I want to use for file in (ls *.jpg | get name) { print $file; wezterm imgcat --width 10% $file }However, when I tried to do something similar with ls *.jpg | get name | each { |file| print $file; wezterm imgcat --width 10% $file } | ignoreThe Can someone explain to me why this is happening? |
Answered by
weirdan
Oct 21, 2026
Replies: 1 comment 3 replies
The output of all runs of |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

it would have worked if you used
to text(which concatenates lists) instead ofignore