Home How to concatenate string variables in Bash
Reply: 0

How to concatenate string variables in Bash

user228
1#
user228 Published in June 20, 2018, 10:52 pm

In PHP, strings are concatenated together as follows:

$foo = "Hello";
$foo .= " World";

Here, $foo becomes "Hello World".

How is this accomplished in Bash?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.470537 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO