Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • CTAS with LONG Column for 9i and higher Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • configUOCIOTTO.ora Oracle
  • How to see which patches are applied. Oracle
  • pvm_pre_change.sql Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • Find_table_size.sql Oracle
  • Finding Oracle Patches with opatch Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • process id based files and processes 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

  • Search and replace pattern Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • create a folder in multiple places Linux/Unix
  • telnet listening Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Small sample shell program 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
  • Rman Notes -1 Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • ext#.sql Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle
  • Index Range Scan Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • S3 Basic info AWS

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme