织梦CMS - 轻松建站从此开始!

abg欧博官网|登陆|游戏|

'\r': command not found

时间:2025-09-21 15:19来源: 作者:admin 点击: 4 次
Its End of Line(EOL) conversion issue when script is written in windows using some editors like notepad, notepad++(tested). Sed , tr may solve the is

Its End of Line(EOL) conversion issue when script is written in windows using some editors like notepad, notepad++(tested).

Sed , tr may solve the issue in case of you just need to run script, however if you are developing shell script its become annoying each time first convert using, sed/tr command then run your script.

Notepad++ has an option to convert END OF LINE CONVERSION(EOL). How to do that: go to Edit > EOL Conversion > select Unix/OSX

Here you go, save script file and run it.

Here is screenshot of the same

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-10-14 19:10 最后登录:2025-10-14 19:10
栏目列表
推荐内容