Are you sure the file you're grepping doesn't have a different EOL sequence? Eg. If the file you're grepping was made on a Windows machine, it'll have a different end of line sequence to one created on linux.
$ cat nixfile.txt I'm a nix formatted file. My lines end with just a linefeed. $ cat winfile.txt I'm a windows file I end lines with CR/LF sequence $ file *file.txt nixfile.txt: ASCII text winfile.txt: ASCII text, with CRLF line terminators If you get the latter when you run "file" against your grep output, you might need to run dos2unix or frodos over it first. On Fri, 13 Aug 2021 at 14:03, Chandra Amarasingham via luv-main < [email protected]> wrote: > Hi all, > > When using grep it seems to insert some special characters into the end of > the output of each line ('$' in vim after setting ":set list")...not sure > what is causing this..if anyone has seen this before let me know > > vim also shows '@' in various places...I can't navigate to these > chars...not sure what this means either. > > > > Regards, > Chandra > _______________________________________________ > luv-main mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ luv-main mailing list -- [email protected] To unsubscribe send an email to [email protected]
