![]() |
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 |
| Email a File from UNIX which has Japanese characters in it | jainkirti | Shell Programming and Scripting | 4 | 09-07-2009 08:22 AM |
| delete beginning field. | daveisme | Shell Programming and Scripting | 2 | 08-28-2009 12:11 PM |
| delete zero byte file | dsdev_123 | Shell Programming and Scripting | 2 | 04-29-2009 12:21 PM |
| Add new lines with a space in beginning | Aejaz | UNIX for Advanced & Expert Users | 8 | 05-01-2008 12:21 PM |
| delete lines from file2 beginning w/file1 | michieka | Shell Programming and Scripting | 13 | 06-24-2003 01:42 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Detect lines beginning with double-byte characters (Japanese) and delete [solved]
Thanks guys, that worked great! I ran "diff" and the outputs of both the awk and perl commands are identical for my working file.
I'm new at this - but I used the command like this: awk 'substr($0,1,1) < "\200"' file1 > file2 Question: How to interpret the "\200"? |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|