vdesabou / kafka-docker-playground

🐳✨ Fully automated Apache Kafka® and Confluent Docker based examples // 👷‍♂️ Easily build examples or reproduction models
https://kafka-docker-playground.io
MIT License
630 stars 205 forks source link

tail -r issue #5652

Closed vdesabou closed 1 month ago

vdesabou commented 1 month ago

the tail version on ubuntu does not support -r :shrug: The playground script uses it on line 6204 and 6301 to reverse list the connector versions. Ubuntu (EC2) version: $ tail --version tail (GNU coreutils) 8.30 Working MBP version: $ tail --version tail (GNU coreutils) 9.4

CraigSmith12 commented 1 month ago

Not sure if this is the most efficient but piping the tail command in to sed '1!G;h;$!d' to reverse should in theory work across all platforms.

vdesabou commented 1 month ago

Thanks @CraigSmith12 , I used your suggestion !