Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Jai Shree Ram Oracle
  • sid_wise_sql.sql Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Library cahe Latches and internal explaination Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • move_arch_files.ksh Linux/Unix
  • DB Console Mainenance. Oracle
  • currwait.sql Oracle
  • plan10g.sql Oracle
  • Oracle Internal Good Websites 1 Oracle
  • UTL_FILE test program Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • DBMS_JOB all example Oracle
  • Oracle Statspack survival Guide Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle

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

  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Some useful Unix Commands Linux/Unix
  • set_env_dba Linux/Unix
  • scp with ssh2 Linux/Unix
  • Unix command for system configuration 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
  • USER_TABLES.Freelists Oracle
  • compile_inv.sql Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Drop tempfiles from database Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • get_aix_vmstat.ksh Oracle
  • sess_server.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme