我在php中工作。我想发短信。在这里,我使用了一个发送sms的api。代码如下:
$url = "http://link.9starabs.com//httpapi/smsapi?uname=uname&password=password&sender=CARCLK&receiver=9558109779&route=T&msgtype=1&sms=Thanks for inquery ,We will contct you soon.";
$curl = curl_init();
curl_set
快速问题是,我如何编写一个shell脚本来提示用户输入5行,它会将这些行存储到一个.txt文件中,例如,
Today is hot
Today is code
Today is chilly
Today is windy
Today is sunny
不像
Today is hot Today is code Today is chilly Today is windy today is sunny
谢谢你的帮忙