Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Good Link from metalink 1 Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • Search and replace editor command in vi Linux/Unix
  • Display the top 5 salaries for each department using single SQL Oracle
  • dbms_job.submit example Oracle
  • oracle Dba site Oracle
  • metalink all dynamic view reference notes. Oracle
  • to see when crontab is changed. Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • TRUNCATE table and disabling referential constraints. Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • V$transaction notes for finding XID composition. Oracle
  • Drop database in Oracle 10g Oracle
  • checking connectivity between two servers 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

  • Reading parameter file and printing Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • How to change hostname in Linux Linux/Unix
  • Find Command Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • scripts to take listener.log backup Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Physical Standby switchover with session active Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Drop database in Oracle 10g Oracle
  • OEM-Commnds Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Jai Shree Ram Linux/Unix
  • Goog notes on X$ tables Oracle
  • SQL_PROFILE – I explaination Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme