Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • shutdown linux Linux/Unix
  • .profile Linux/Unix
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Set Role explaination. Oracle
  • oracle 11g RAC on vmware Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • get_vmstat.ksh Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • Running PDB on single node in RAC Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Export With Query Another Example. 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

  • cold backup scripts to copy locally Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • create a folder in multiple places Linux/Unix
  • good linux notes Linux/Unix
  • Find Command 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • AWR license Oracle
  • cif crons Linux/Unix
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • cache buffer chain latch Oracle
  • How to set Processes Parameter Oracle
  • To Find Orphan OS processes. Linux/Unix
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme