Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Exadata Basics Oracle
  • cp_filesystem.sql Oracle
  • Histogram Overview Oracle
  • SYSOPER Mystery Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • initUOCIOTTO.ora Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • How can I tell if ASO is installed ? Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • ext#.sql Oracle
  • block_ident.sql Oracle
  • Oracle Identifiers Oracle

adding new line after specific pattern using sed

Posted on 09-Nov-2007 By Admin No Comments on adding new line after specific pattern using sed

$cat t1.sql | sed ‘s/ORDER_DETAILS/

This is added newly/g’

Linux/Unix, shell

Post navigation

Previous Post: Search and replace pattern
Next Post: Btee and Bitmap Plans in Oracle 9i and higher

Related Posts

  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • Single character replacement in Unix Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • move_arch_files.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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • scripts to take listener.log backup Linux/Unix
  • Getting started with notebook Python/PySpark
  • checking connectivity between two servers Linux/Unix
  • Linux CPU info. Linux/Unix
  • Generate SSH without password authentication. Linux/Unix
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • findobj.sql Oracle
  • sid_wise_sql.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme