![]() |
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 |
| Replacing a character string in a file | rjsha1 | Shell Programming and Scripting | 13 | 04-11-2009 01:07 PM |
| Null Character Handling | npk2210 | Shell Programming and Scripting | 3 | 09-29-2007 04:51 AM |
| replacing the character "\" in a file | rjsha1 | Shell Programming and Scripting | 5 | 01-11-2006 09:45 AM |
| Find files which contain a null character | Bab00shka | UNIX for Dummies Questions & Answers | 5 | 12-16-2005 10:41 AM |
| sending a null character to a terminal | vertigo23 | UNIX for Advanced & Expert Users | 3 | 09-30-2005 09:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
What is the null value's character to replace in the following syntax?
--- Command: cat filename | tr "charactertoreplace" "nullvalue" > newfilename === After googling, searching in this forum, and asking local in-house programmers regarding the question, the closest I got to was just simply "null" (without the quotes, i.e. --- cat afilename | tr "\n" null > newafilename === However, that did not do the same thing that GUI-based editors like Textpad, and UltraEdit does. Is there a way to achieve this task that can be scripted when wanting to apply the action to multiple files? Please assist. Thanks! |
|
||||
|
Replacing ^U character with newline
Quote:
|
|
||||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|