![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sed-Special character replacement | usshell | Shell Programming and Scripting | 3 | 05-22-2008 10:06 AM |
| sed and special character in data | MizzGail | Shell Programming and Scripting | 3 | 01-23-2008 03:45 PM |
| convert special character like £ | cynnie | Shell Programming and Scripting | 1 | 08-08-2007 06:37 AM |
| Special character in my file | Ryan2786 | UNIX for Dummies Questions & Answers | 3 | 07-05-2007 11:35 PM |
| special character ? | mile1982 | High Level Programming | 1 | 10-19-2004 08:15 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
special character
Hi,
I am trying to unload file from a database. Which contains few lines with the character below. Rest of the data was unloaded appropriately. Code:
b) How can i remove it, I already have Code:
sed '/^$/d' Thanks for help |
|
||||
|
Code:
0000000 \f \n \f \n \f \n \f \n \f \n \f \n \f \n \f \n 0000020 \f \n \f \n 0000024 Code:
od -c Code:
tr -d "\f" Code:
sed 's[ \t]*\f[ \t]*//g' | sed '/^$/d' Last edited by tostay2003; 01-06-2009 at 12:13 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|