Sunday, January 26, 2014

Re: Replacing a string which is in a line and not in the beginning?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJS5MGgAAoJEHWv8EScabi8uqMP/iyxDyDO+GLwGkfMB8dzOnR7
uYaQlUP2TnAPDsD+EGHr7iLyai9dK/metv73gdnwVFPt0b3YGkd022J++zFfP2w6
WDUQ128WTrA8jOHMiQcsphiq/1H6vb60X6JWmL96+QCjIOedjfe51leyREjnLvbN
toIdgSj2CvM8KkOkxBNLXGBdxo78uBhhwPMrSDUNoQRbwMXSJg/3niF3wCvB1hTn
GQnQlTjxg1Ff58z+4FJZVQDLF0sd/BoAvQZuzY6wfIyeXjBeGs1FJdT7Lwubzhwg
2wScp8SmcmETnnsI/uaE2xk6Edid+6XghgpBa5M6n21f/0n8f6V4SXoNt2sq9vBE
6+dgCbExGYKN/udYHB3nwi7cnJ3apqTTp8lK+cgFEY0O0trtCoosJn33wnZw/6nb
7IkKHcuYYpxT0/mZAfjcE/h/NwNpG907VRofsWwpNfsdAIEXFgwwTw44Tb17IlPT
bDIdMIjeRIf5DxjLQJ2quEYpjO210SEwmlUJd7g3bjplH6bo7BEj0/4KYWzaLjTj
uf+1tpu7tbP/rzxfZ724gHqNFhfi6DRzlZr4IPIOjRN1SjbPbVPX+O5T7a5prGGZ
JCksshBX0382JS/xjV4XAV8+c+4E0D5oDrcaUpdYJmQ0XO1pTWN6UBiTRmUqZV0x
h1d8FTvDuXcoi6IrAmpg
=wQZd
-----END PGP SIGNATURE-----
On 26 Jan 2014, at 6:21, John Little wrote:

> I suggest using \zs":
>
> :%s/.\zs- //g

It works but what does the /. in there?

Niels

No comments: