On 13/8/21 2:02 pm, Chandra Amarasingham via luv-main wrote:
> 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.

grep won't add anything unless you have a flag like '--color=always'

The '$' you see when doing ":set list" is just the standard end of line
character, that is normal. Note that if you are trying to extract
multiple matches from lines using eg '-o', you will get newlines between
each of the matches reported.

If you are seeing an '@' character, check that it isn't actually '^@',
which would indicate a null character in the source file.

regards, Glenn
-- 
pgp: 833A 67F6 1966 EF5F 7AF1  DFF6 75B7 5621 6D65 6D65
_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to