| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
cut file for non-eng characters
|
Original Message
|
Name: KeeOn
Date: February 15, 2006 at 21:35:44 Pacific
Subject: cut file for non-eng charactersOS: UnixCPU/Ram: -Manufacturer/Model: - |
Comment: cat $inf1 | while read LINE do A6="`echo $LINE | cut -d'!' -f6`" A7="`echo $LINE | cut -d'!' -f7`" echo "A6: $A6" echo "A7: $A7" done It works on every line for A6 and A7 sometimes! It will return nothing if A7 contains non-english character! Please help Thanks a lot
Report Offensive Message For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Unix Forum Home