Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 07:52:31 -0400
From:      James Housley <jim@thehousleys.net>
To:        Tim McCullagh <timbo@halenet.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Removing the "^M" s from files created on Windows machines
Message-ID:  <3B4C3DFF.53997DA2@thehousleys.net>
References:  <01b701c109ff$49f3a7e0$6500a8c0@halenet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms4A860FD6F5CEB9EB036D4A30
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim McCullagh wrote:
> 
> Hi
> 
> Some time back I recall seeing an email where some one posted a vi command
> which would remove the ^M's from files created on windows machines.
> 
> Can anyone tell me what it was?
> 
> thanks in advance
> 

:%s/^V^M//

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>
--------------ms4A860FD6F5CEB9EB036D4A30
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIIIBwYJKoZIhvcNAQcCoIIH+DCCB/QCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BdgwggK8MIICJaADAgECAgMDTCIwDQYJKoZIhvcNAQEEBQAwgZQxCzAJBgNVBAYTAlpBMRUw
EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMQ8wDQYDVQQKEwZU
aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb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DxcNMDEw
NzExMTE1MjMxWjAjBgkqhkiG9w0BCQQxFgQUO6acCTun2BhMrOE9L4L3HyyQowswUgYJKoZI
hvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZI
hvcNAwICAUAwDQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYDGG45Y0AQXtF23J2cj
sH7hqEyYgnBBbD7YY/zovXIdmRC2gMmHnenAmPCbbG+uRMXDyyoLgC3SJjLxNGDKMkHcnQaL
4cEEbXeFgVPlhp4XSHZkdputI6Ax4F8x6csGJ6q2AHMYXs6KdilwqceWJrJ1muRKuT+NiX0C
+XQzwSwnSg==
--------------ms4A860FD6F5CEB9EB036D4A30--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B4C3DFF.53997DA2>