serhii.net

In the middle of the desert you can say anything you want

08 Feb 2021

Day 769

Updated xrealpath to not include newline

echo -n "string" makes echo not add a newline symbol at the end 1. So anything | xargs echo -n | removes that.

Final command is

xrealpath() {
    realpath "$1"
    realpath "$1" | xargs echo -n | xc
}
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus