![]() |
|
|
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 |
| grep with special characters | guruparan18 | UNIX Desktop for Dummies Questions & Answers | 3 | 06-12-2008 06:58 AM |
| Grep with Special Characters | Vashj | Shell Programming and Scripting | 6 | 11-27-2007 06:51 AM |
| Grep and extract the characters after | thumsup9 | UNIX for Dummies Questions & Answers | 6 | 07-04-2007 12:05 PM |
| quoted-printable content-transfer problems | marcpascual | UNIX for Advanced & Expert Users | 0 | 03-06-2007 02:56 AM |
| Best way to search files for non-printable characters? | jvander | Shell Programming and Scripting | 2 | 03-31-2005 01:53 AM |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
grep non printable characters
Sometimes obvious things... are not so obvious. I always thought that it was possible to grep non printable characters but not with my GNU grep (5.2.1) version.
Code:
printf "Hello\tWorld" | grep -l '\t'
printf "Hello\tWorld" | grep -l '\x09'
printf "Hello\tWorld" | grep -l '\x{09}'
What am I doing wrong? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|