Computing.Net > Forums > Unix > cut file for non-eng characters

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

cut file for non-eng characters

Reply to Message Icon

Name: KeeOn
Date: February 15, 2006 at 21:35:44 Pacific
OS: Unix
CPU/Ram: -
Product: -
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




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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


Sponsored links

Ads by Google


Results for: cut file for non-eng characters

More on non-printable characters www.computing.net/answers/unix/more-on-nonprintable-characters/4670.html

Script to scan files for a string www.computing.net/answers/unix/script-to-scan-files-for-a-string/7532.html

history file for each login session www.computing.net/answers/unix/history-file-for-each-login-session/6475.html