Le 2023-09-20 20:05, st--- via Inf-IT DAV Clients a écrit :
hi all
grep "'[^']+': {" timezones.js | sed -Ee "s#(\s*'|':\s*{)##g"
this returns nothing though timezones.js does have many timezones defined
after logging in, time zone is Berlin and no others are available in the dropdown
what can i do about it? would like to have a complete list
thanks
grep "'[^']+': {" timezones.js | sed -Ee "s#(\s*'|':\s*{)##g" Arctic/Longyearbyen Africa/Dar_es_Salaam Africa/Mbabane Africa/Lagos Africa/Bissau Africa/Nairobi Africa/Tunis Africa/Khartoum Africa/Asmara Africa/Lubumbashi Africa/Blantyre Africa/Bamako Africa/Algiers Africa/Ouagadougou Africa/Djibouti Africa/Sao_Tome Africa/Ndjamena Africa/Malabo Africa/Porto-Novo Africa/Addis_Ababa Africa/Gaborone
[...]
Australia/Eucla Australia/Broken_Hill Australia/Currie Australia/Brisbane Australia/Melbourne Australia/Hobart Australia/Darwin Australia/Perth Australia/Sydney Australia/Lindeman Indian/Mayotte Indian/Mauritius Indian/Cocos Indian/Chagos Indian/Maldives Indian/Antananarivo Indian/Christmas Indian/Comoro Indian/Mahe Indian/Reunion Indian/Kerguelen
What does your file contain? file timezones.js timezones.js: ASCII text, with very long lines (1147)
Maybe it is in DOS format ie (CR/LF)