in reply to \n size

If your goal is to learn the length of the end of line character,

perl -e 'print length $/;'
should do the trick;

જલધર