方案一:
#!/bin/bash
string="hello world!"
result=$(echo $string)
echo $result
方案二:
#!/bin/bash
string="hello world!"
result=`echo $string`
echo $result
方案一:
#!/bin/bash
string="hello world!"
result=$(echo $string)
echo $result
方案二:
#!/bin/bash
string="hello world!"
result=`echo $string`
echo $result