compute proper width of strings (characters might be wider than 1 column on display)
Before:
$ echo hello ๐ญ | relpipe-in-csv wide string | relpipe-out-tabular
wide:
โญโโโโโโโโโโโโโโโโโโฎ
โ string (string) โ
โโโโโโโโโโโโโโโโโโโค
โ hello ๐ญ โ
โฐโโโโโโโโโโโโโโโโโโฏ
Record count: 1
After:
$ echo hello ๐ญ | relpipe-in-csv wide string | relpipe-out-tabular
wide:
โญโโโโโโโโโโโโโโโโโโฎ
โ string (string) โ
โโโโโโโโโโโโโโโโโโโค
โ hello ๐ญ โ
โฐโโโโโโโโโโโโโโโโโโฏ
Record count: 1
# Relational pipes
# Copyright ยฉ 2018 Frantiลกek Kuฤera (Frantovo.cz, GlobalCode.info)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
project (relpipe-out-tabular.cpp)
cmake_minimum_required(VERSION 3.7.2)
add_subdirectory (src)