[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: word breaks and control-a
> That's not much better, because there is still an arbitrary limitation.
> Consider, for example, the perfectly reasonable array
> ascii = \001 \002 \003 \004 ...
> This won't be preserved properly across shell invocations given either the
> current behavior or the proposed solution.
yet it will. you (and you're by far not the first) misunderstood my
suggestion. that would be exported as the string
ascii=^b^a^a^b^b^a^c^a^d^a...
which could be easily re-imported.
let me sum up what i'm proposing: es strings could legally include anything
other than the nul character (\0). strings containing ^a and ^b would have
some filtering done on them for export and be unfiltered on import. the
external representations would be slightly different than they are right now,
but if you never use control-a or control-b in strings, you wouldn't notice
the difference.
paul