Помощь с индексацией списка значений

Вы можете использовать Bloaty McBloatface:

The "VM SIZE" column tells you how much space the binary will take when it is loaded into memory. The "FILE SIZE" column tells you about how much space the binary is taking on disk. [...] The default breakdown in Bloaty is by sections, but many other ways of slicing the binary are supported such as symbols and segments. If you compiled with debug info, you can even break down by compile units and inlines!

-2
23.08.2019, 09:10
2 ответа
perl -pi -e 's/(^[^,]*,\d)\d+,/$1,/g' a.csv

Группируется по первой цифре.

0
28.01.2020, 05:16

Чтобы сравнить $0с одним значением, используйте ==, а не =. =присваивает новое значение $0. Если вы присваиваете новое значение, выражение $0=2393(, например. )оценивается awk как true, а затем печатается 9.

1
28.01.2020, 05:16

Теги

Похожие вопросы