alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 3 days agocat posttitle.txt | grep memelemmy.worldimagemessage-square50linkfedilinkarrow-up1351arrow-down15
arrow-up1346arrow-down1imagecat posttitle.txt | grep memelemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 3 days agomessage-square50linkfedilink
minus-squarejayands@lemmy.worldlinkfedilinkarrow-up2·2 days agoThe subtle difference is that your $SHELL is responsible for opening (and, iirc, parsing?) the file when you use \<, versus the $EDITOR being the responsible entity.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·2 days agoOh I get it now. Also, for some reason setting vi as $EDITOR, it is not able to load the contents of the file, unlike vim that does.
The subtle difference is that your $SHELL is responsible for opening (and, iirc, parsing?) the file when you use
\<, versus the $EDITOR being the responsible entity.Oh I get it now.
Also, for some reason setting
vias$EDITOR, it is not able to load the contents of the file, unlikevimthat does.