skip to main | skip to sidebar

Learn SAP Basis

This blog contains information about SAP Basis Module. SAP installation, Architecture, System Landscape, Client Administration, Background Processing, Configuring RFCs, System Monitoring, SPOOL Management, Authorizations (User management), Change and Transport System, Patch Management etc..

Friday, June 17, 2011

How to change some character in mass in vi editor

:%s/^M//g

In above example %s means search for character ^M and replace it with nothing / g for globally

Or if you need to change the same with some other character say ^M with ^S then

:%s/^M/^S/g
Posted by Jaswinderbir at 11:27 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2007 (10)
    • ►  July (6)
    • ►  November (4)
  • ►  2009 (28)
    • ►  August (9)
    • ►  September (15)
    • ►  October (4)
  • ►  2010 (33)
    • ►  February (2)
    • ►  March (3)
    • ►  April (4)
    • ►  June (4)
    • ►  July (10)
    • ►  August (3)
    • ►  September (1)
    • ►  October (4)
    • ►  December (2)
  • ▼  2011 (41)
    • ►  January (1)
    • ►  February (9)
    • ►  March (1)
    • ►  May (4)
    • ▼  June (10)
      • Command to Rebuild Indexes
      • Parallel processes for Client Copy
      • NWDI Change Management Service - Transports
      • Remedy query to find out last resolved requests
      • How to change some character in mass in vi editor
      • Mass copy script in HP-UX Unix
      • Mass rename script in Unix (HP-UX)
      • Kernel Upgrade Procedure - Simplest
      • Kernel upgrade procedure - Traditional Method
      • How to find job name from process ID (BI System Sl...
    • ►  July (6)
    • ►  August (1)
    • ►  October (2)
    • ►  November (4)
    • ►  December (3)
  • ►  2012 (16)
    • ►  January (9)
    • ►  March (4)
    • ►  April (1)
    • ►  November (2)
  • ►  2020 (2)
    • ►  April (1)
    • ►  June (1)

About Me

Jaswinderbir
SAP Basis Consultant
View my complete profile
 

Free Blog Counter