Thanks, Ruda,

+1 on this one; I got used to doing something like s/\\040/ /g
… and that’s a behavior to be blamed for

I hope there’s not a very good reason for retaining that coding.

Hauke


Am 27.07.21 um 20:18 schrieb 'Rudolf Sykora' via Programming:
Dear list,


what is the reason that the 'space' character is coded as '\' '0' '4'
'0' in the .jhistory file?

(I know that \040 is the octal code for a space, but in .jhistory there
really are 4 characters '\', '0', '4', '0' instead of just single
'space' character).

This makes the file less readable / directly reusable, at least for me.
(E.g. cat or awk on .jhistory needs some more dance.)


Thanks for comments.
Ruda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


--
----------------------
mail written using NEO
neo-layout.org

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to