We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 6 columns, instead of 5 in line 9.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| time,lat,lon,alt_m,speed_mps,voltage_v | |
| 2025-01-01 10:00:00,55.75003047170797,37.620116189471084,0.8467362441910651,12.079954506002453,16.82936093057232 | |
| 2025-01-01 10:00:01,55.74992647329735,37.62040632613542,1.1402836967655872,10.333298410720438,16.79763655554465 | |
| 2025-01-01 10:00:02,55.75000151841693,37.62023958333315,1.3402054134782246,10.446462296572394,16.773393690989643 | |
| 2025-01-01 10:00:03,55.75009557488857,37.620414563830046,1.2776024889458981,10.310318769163812,16.804341097454078 | |
| 2025-01-01 10:00:04,55.749900471369706,37.62042298009225,1.0809745036305776,10.578590467776918,16.791778942086463 | |
| 2025-01-01 10:00:05,55.74977025341902,37.620519712118266,1.1917196565446813,8.206663967132206,16.791161905096242 | |
| 2025-01-01 10:00:06,55.74978303745934,37.620321978861334,3.6979322826145133,11.2238113723044,16.802504512472858 | |
| 2025-01-01 10:00:07,55.7497514132001,37.620498148680056,3.574168820221573,10.922379925043566,16.80565181224006 | |
| 2025-01-01 10:00:08,55.74974973308435,37.62059253069022,2.5173981139366997,9.726609 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # python regular expression for syllables | |
| import re | |
| text = """ | |
| синхронизация | |
| телекоммуникация | |
| трансплантация | |
| гиперчувствительность | |
| экстравагантность |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep -P -v '^\s*#' $1 > $2 | |
| # -P, --perl-regexp PATTERNS are Perl regular expressions | |
| # -v, --invert-match select non-matching lines | |
| # скрипт, который в качестве параметра получает имя файла конфигурации. | |
| # Скрипт должен создать копию этого файла, в которой удалены все строки, начинающиеся на знак # (комментарий). | |
| # При этом перед комментарием могут встречаться пробелы, символы табуляции и другие пробельные символы. | |
| # Остальные строки (даже пустые) необходимо оставить. | |