|
From: | Emanuel Berg |
Subject: | Re: [External] : Re: Regexp for matching control character, say, FORM FEED. (Was: Re: The `^L' appeared in built-in help.) |
Date: | Sun, 01 Aug 2021 04:31:03 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
tomas wrote: > For example, why ^L? Because form feed is at point 12 (in > decimal) in the ascii table, and L at point 76, the > difference being 64. What happens is that the "^" "subtracts > 64 from the character code", or more precisely masks out bit > 6 of its binary representation. Cool :) $ ascii -t L @ ff | awk '{print $5}' 01001100 01000000 00001100 -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |