Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Privilege to describe the table. Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • Jai Shree Ram Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • New OFA for 11g Oracle
  • find the files that are 1 day old. Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • How to choose Driver table in SQL statement Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Explain Plan Output 2 Oracle
  • Reading parameter file and printing Linux/Unix
  • 10g oem configuration Oracle
  • Unix command for system configuration Linux/Unix

Remove DOS CR/LFs (^M)

Posted on 11-Sep-2009 By Admin No Comments on Remove DOS CR/LFs (^M)

Remove DOS style CR/LF characters (^M) from UNIX files using:

sed -e ‘s/^M$//’ filename > tempfile

The newly created tempfile should have the ^M character removed

Linux/Unix, shell

Post navigation

Previous Post: RMAN : Consistent Backup, Restore and Recovery using RMAN
Next Post: Caching sequence in Memory

Related Posts

  • catting.sh Linux/Unix
  • Directory wise folder wise space usage Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • chk_space_SID.ksh Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Small sample shell program Linux/Unix
  • Read CSV File using Python Python/PySpark
  • Find All internal Parameters Oracle
  • scripts to take listener.log backup Linux/Unix
  • Recovering lost SYS password Oracle
  • Drop database in Oracle 10g Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme