Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

text-formatting

How can I print a variable with padded center alignment?

August 10, 2022 by Magenaut

How can I print $myvar padded so that it is in the center of the terminal, and to either side are = to the edge of the screen?

Categories Q&A, Unix & Linux Tags bash, printf, text-formatting, tput Leave a comment

How do I add newlines between lines printed on the command line?

August 9, 2022 by Magenaut

Mail logs are incredibly difficult to read. How could I output a blank line between each line printed on the command line? For example, say I’m grep-ing the log. That way, multiple wrapped lines aren’t being confused.

Categories Q&A, Unix & Linux Tags command-line, logs, output, text-formatting, text-processing Leave a comment

Purpose of “ASCII text, with overstriking” file format

August 9, 2022 by Magenaut

After downloading the source code for Bash, I was browsing through the doc directory and came across the following files:

Categories Q&A, Unix & Linux Tags documentation, man, text-formatting Leave a comment

Format data into a table

August 9, 2022 by Magenaut

How can I get the details and transpose it to horizontal form?

Categories Q&A, Unix & Linux Tags awk, perl, text-formatting Leave a comment

Issue with column command and color escape codes

August 8, 2022 by Magenaut

I’m colorizing the header of a table formatted with column -ts $'t'

Categories Q&A, Unix & Linux Tags colors, columns, escape-characters, table, text-formatting Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress