Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Search Forums:



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-08-2011
saj saj is offline
Registered User
 

Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Replace pipe with Broken Pipe

Hi All ,
Is there any way to replace the pipe ( | ) with the broken pipe (0xA6) in unix
Sponsored Links
    #2  
Old 04-08-2011
Registered User
 

Join Date: Mar 2011
Posts: 65
Thanks: 2
Thanked 10 Times in 10 Posts
maybe this:

Code:
echo "|" | sed 's/|/\xA6/'

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
broken pipe Satyak Shell Programming and Scripting 0 06-30-2008 01:02 AM
pipe broken abir2 Linux 2 12-26-2007 11:48 PM
Broken Pipe ramkrix UNIX for Dummies Questions & Answers 3 12-09-2007 03:27 PM
broken pipe? gusla UNIX for Dummies Questions & Answers 3 05-12-2002 05:05 AM
Broken pipe with TAR falberti UNIX for Dummies Questions & Answers 1 10-08-2001 10:54 AM



All times are GMT -4. The time now is 04:19 AM.