Timeline for uniq -i is does not ignore case-sensitive in non-Ascii characters
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 15, 2020 at 16:20 | comment | added | Eduardo Trápani |
You can do export LC_ALL=tr_TR so that the changes apply to your bash session. About the extended code, in this site you should post a question on each new issue. If my answer solves the original problem, good, accept it and then open a new one with the other specific problem (in you case, how to call a command from a function, it seems). That keeps things discoverable for the next person with the same issue.
|
|
| May 15, 2020 at 16:04 | comment | added | rojen | I change the LC_ALL to tr_TR or UTF-8 but CGI-Bash shell give me LC_ALL=C output | |
| May 15, 2020 at 7:46 | comment | added | rojen | I am added full code. Can you look this? for solve me problem. | |
| May 15, 2020 at 7:29 | comment | added | rojen |
Yes I use tr lang but web server is en_us. I am write a script for CGI-Bash, I don't must generate uppercase to lower case. because strings are correctly must be index. I mast ignore case (uniq -i) with non-ascii characters. LC_ALL=tr_TR doesn't work for me, LC_ALL=tr_TR iconv -f UTF-8 -t ISO-8859-3 < a.txt | tr '[:upper:]' '[:lower:]' | uniq -c | iconv -f ISO-8859-3 -t UTF-8 is false listing.
|
|
| May 15, 2020 at 7:06 | vote | accept | rojen | ||
| May 15, 2020 at 7:09 | |||||
| May 15, 2020 at 4:15 | history | edited | Eduardo Trápani | CC BY-SA 4.0 |
added 7 characters in body
|
| May 15, 2020 at 1:20 | history | edited | Eduardo Trápani | CC BY-SA 4.0 |
added 131 characters in body
|
| May 15, 2020 at 1:14 | history | edited | Eduardo Trápani | CC BY-SA 4.0 |
added 494 characters in body
|
| May 15, 2020 at 0:22 | history | answered | Eduardo Trápani | CC BY-SA 4.0 |