如何判断的bash该行持续到下一行 [英] How to tell bash that the line continues on the next line

查看:75
本文介绍了如何判断的bash该行持续到下一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在bash脚本我从另一个程序员了,有的线路长度超过80列。这是为了表示该线继续到下一行被添加到该行的字符或东西?

In a bash script I got from another programmer, some lines exceeded 80 columns in length. What is the character or thing to be added to the line in order to indicate that the line continues on the next line?

推荐答案

字符是反斜杠 \\

bash的手动

反斜线字符\\可被用来去除任何特殊意义
  下一个字符读取和续行。

The backslash character ‘\’ may be used to remove any special meaning for the next character read and for line continuation.

这篇关于如何判断的bash该行持续到下一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆