Closed gheesh closed 1 month ago
You could switch from -N
instead of -C
, since there only a list of columns names are given and no other options are used.
Here is the list.sh
expected output
$ ./bin/list.sh
> fetching servers in FR
> fetched servers
PlanCode Category Name Price (EUR)
24rise01 RISE-1 | Intel Xeon-E 2386G 56.99
24rise02 RISE-2 | Intel Xeon-E 2388G 64.99
24rise01-mum RISE-1 | Intel Xeon-E 2386G 76.49
24rise01-sgp RISE-1 | Intel Xeon-E 2386G 89.99
24sysstor01 SYS-STOR | AMD Ryzen 5 Pro 3600 109.99
24rise02-mum RISE-2 | Intel Xeon-E 2388G 112.99
24rise02-sgp RISE-2 | Intel Xeon-E 2388G 112.99
24risestor01 RISE-STOR | AMD Ryzen 7 Pro 3700 164.99
24sysstor01-mum SYS-STOR | AMD Ryzen 5 Pro 3600 165.99
24sysstor01-sgp SYS-STOR | AMD Ryzen 5 Pro 3600 165.99
24rise04 RISE-4 | AMD Epyc 7313 174.99
24rise05 RISE-5 | AMD Epyc 7413 209.99
24rise06 RISE-6 | Intel Xeon Gold 6312U 209.99
24rise04-sgp RISE-4 | AMD Epyc 7313 219.99
24risestor01-mum RISE-STOR | AMD Ryzen 7 Pro 3700 238.99
24risestor01-sgp RISE-STOR | AMD Ryzen 7 Pro 3700 238.99
24rise04-mum RISE-4 | AMD Epyc 7313 273.99
24rise05-mum RISE-5 | AMD Epyc 7413 302.99
24rise05-sgp RISE-5 | AMD Epyc 7413 302.99
24rise06-sgp RISE-6 | Intel Xeon Gold 6312U 302.99
24ska01 kimsufi KS-A | Intel i7-6700k 4.99
24sk10 kimsufi KS-1 | Intel Xeon-D 1520 16.99
24sk40 kimsufi KS-4 | Intel Xeon-E3 1230 v6 16.99
24sk20 kimsufi KS-2 | Intel Xeon-D 1540 18.99
24sk30 kimsufi KS-3 | Intel Xeon-E3 1245 v5 18.99
24sk50 kimsufi KS-5 | Intel Xeon-E3 1270 v6 25.99
24sk60 kimsufi KS-6 | AMD Epyc 7351P 38.99
24skstor01 kimsufi KS-STOR | Intel Xeon-D 1521 49.99
22skgameapac01-sgp kimsufi KS-GAME-APAC-1-1 53.99
22skgameapac01-syd kimsufi KS-GAME-APAC-1-1 53.99
24ska01-syd kimsufi KS-A | Intel i7-6700k 53.99
24sk30-sgp kimsufi KS-3 | Intel Xeon-E3 1245 v5 54.99
24sk30-syd kimsufi KS-3 | Intel Xeon-E3 1245 v5 54.99
24sk40-syd kimsufi KS-4 | Intel Xeon-E3 1230 v6 54.99
24sk70 kimsufi KS-7 | AMD Epyc 7451 76.99
22risegame011 rise RISE-GAME-1-1 59.99
22risegame012 rise RISE-GAME-1-2 70.99
22risegame021 rise RISE-GAME-2-1 89.99
24rise03 rise RISE-3 | AMD Ryzen 9 5900X 99.99
22risegame022 rise RISE-GAME-2-2 111.99
24rise03-mum rise RISE-3 | AMD Ryzen 9 5900X 161.99
24rise03-sgp rise RISE-3 | AMD Ryzen 9 5900X 161.99
24sys01 soyoustart SYS-1 | Intel Xeon-E 2136 35.99
22sysgame01 soyoustart SYS-GAME-1 41.99
24sys02 soyoustart SYS-2 | Intel Xeon-D 2141I 44.99
24sys03 soyoustart SYS-3 | Intel Xeon-E 2288G 49.99
22sysgame02 soyoustart SYS-GAME-2 50.99
24sys01-sgp soyoustart SYS-1 | Intel Xeon-E 2136 59.99
22sysgameapac011-sgp soyoustart SYS-GAME-APAC-1-1 64.99
22sysgameapac011-syd soyoustart SYS-GAME-APAC-1-1 64.99
22sysgameapac012-sgp soyoustart SYS-GAME-APAC-1-2 74.99
22sysgameapac012-syd soyoustart SYS-GAME-APAC-1-2 74.99
24sys01-syd soyoustart SYS-1 | Intel Xeon-E 2136 89.99
24sys04 soyoustart SYS-4 | AMD Epyc 7371 114.99
24sys05 soyoustart SYS-5 | Intel Xeon Silver 4214R 129.99
Here is the column
version I run
$ column -V
column from util-linux 2.40.2
Tested, it works beautifully. Thank you!
Running list.sh throws an error possibly due to an outdated "column" executable:
Indeed the manpage shows there is no -C option, but switching to -T PlanCode,... did not solve the issue either (error changes to "column: undefined column name 'PlanCode'").
What is the expected output after calling column so that I can try to provide a PR that checks column version and solves this? The check.sh utility, which is after all the important one, works perfectly.