![]() |
|
|
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 |
| awk command format ? | maheshsri | Shell Programming and Scripting | 4 | 05-06-2009 09:31 AM |
| grep using date format | ali560045 | Shell Programming and Scripting | 4 | 12-26-2007 08:59 AM |
| grep using date format | ali560045 | Shell Programming and Scripting | 8 | 12-11-2007 06:39 PM |
| how to exclude the GREP command from GREP | yamsin789 | UNIX for Advanced & Expert Users | 2 | 10-05-2007 03:59 AM |
| Format Command | yestoprop69 | UNIX for Dummies Questions & Answers | 2 | 07-25-2001 01:47 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to format a grep command
Hello
I am trying to use the grap command to locate the following phrase in a file: "file.php\tDebug: one two three" Note that \t denotes a tab (whitespace) and not the characters \ and t I am encountering the following 2 problems: 1) there is a perido between "file" and "php" which needs to be encoded somehow 2) there is a tab between "php" and "Debug" which needs to be encoded somehow I would appreciate it if someone could some me what the correct syntax for this command should be In a more general note, I would appreciate if someone could refer me to a manual on using grep, including character escaping regards and thanks in advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|