alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 4 days agocat posttitle.txt | grep memelemmy.worldimagemessage-square49linkfedilinkarrow-up1363arrow-down15
arrow-up1358arrow-down1imagecat posttitle.txt | grep memelemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 4 days agomessage-square49linkfedilink
minus-squarejayands@lemmy.worldlinkfedilinkarrow-up2·4 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·3 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.