Hi, I'm using bash on Ubuntu. I run a command to check how many times each lines appear. My command is something like:
$ cat /var/log/django/speedy.log*|fgrep -i send_mail|fgrep 'subject="'|fgrep -v uri+selenium-test-user|awk -F\, '{print $(NF-1)","$NF}'|sort|uniq -c|sort -nr|fgrep -v email/contact_by_form/admin_feedback And the results are: ... 96 template_name_prefix=email/messages/new_message, subject="You have a new message on Speedy Net" 39 template_name_prefix=email/messages/new_message, subject="יש לך הודעה חדשה בספידי מץ'" 22 template_name_prefix=email/accounts/confirm_first_email, subject="אמת את כתובת הדואר האלקטרוני שלך בספידי מץ'" 15 template_name_prefix=email/accounts/confirm_second_email, subject="Confirm your email address on Speedy Net" 10 template_name_prefix=email/likes/like, subject="מישהו עשה לך לייק בספידי מץ'" 7 template_name_prefix=email/accounts/confirm_first_email, subject="אמתי את כתובת הדואר האלקטרוני שלך בספידי מץ'" 6 template_name_prefix=email/accounts/password_reset, subject="Password reset on Speedy Net" ... (I only showed a few lines in the middle). I do it with putty SSH, but when I view it with putty, I see "01" where "10" should be, and "93" where "39" should be (see screenshot attached). I think this is because the rest of the line is in Hebrew. Why does it show "01" and "93" and how can I fix it, if I can? Thanks, אורי u...@speedy.net
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il