When I do...
ls$IFS-l
... I get the output I expect.
When I do...
curl$IFShttp://www.google.com
... I don't.
Am I misunderstanding internal field separators? How could I run a curl command without using any space characters?
您需要将变量放在大括号中,否则shell会查找名为“IFShttp ...”的变量:
curl${IFS}http://www.google.com
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.