Print variable with a separator in a shell script

Print variable with a separator in a shell script
name="penguin"
tstamp=24-04-2020
printf "%s$name,%s$tstamp\n"

Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment