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
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!
Summary: Hi, This is really a follow-up on the other question I posted about non-printable characters. I have to capture the field separator and print it out to a file. (program something like ) echo "Type th...
Summary: The problem with Luke's solution is that it will also grep binary files - which can put the terminal into an unhealthy state. # all on 1-line find . -type f -print | xargs file | grep -i text | cut -f...
Summary: I have read in the "Learning the Korn Shell" book about history file for each login session. In the book it said to put "HISTFILE=~/.hist$$" in your .profile to create a history session for users that...