You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which I think would cause unexpected problems, say if someone want's to rename all the softlink files through a pipe exa *.softlinks | while read file; do rename xxx yyy $file; done, both the link file and the source file are renamed.
Best,
Songtao Gui
The text was updated successfully, but these errors were encountered:
This is a little bit weird to me, normally redirection is implemented by the shell transparently. Thus the program being redirected shouldn't tell if it is redirected or not and should behave consistently in both cases.
Perhaps exa has done something special to detect if its stdout is a pipe?
This is a little bit weird to me, normally redirection is implemented by the shell transparently. Thus the program being redirected shouldn't tell if it is redirected or not and should behave consistently in both cases.
Perhaps exa has done something special to detect if its stdout is a pipe?
exa detects the number of columns (the width) of the terminal.
Hi,
I found that exa would automatically expands softlinks when embedded in a pipe (I am using exa
v0.9.0
on linuxCentOS7
):Which I think would cause unexpected problems, say if someone want's to rename all the softlink files through a pipe
exa *.softlinks | while read file; do rename xxx yyy $file; done
, both the link file and the source file are renamed.Best,
Songtao Gui
The text was updated successfully, but these errors were encountered: