单选题Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?()A  tr ’/r/n’   userlist.txt  newlist.txtB  tr -c ’/n/r’   newlist.txt  userlist.txtC  tr -

题目
单选题
Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?()
A

 tr ’/r/n’  < userlist.txt > newlist.txt

B

 tr -c ’/n/r’  < newlist.txt > userlist.txt

C

 tr -d /r¯ < userlist.txt > newlist.txt

D

 tr /r¯/n¯ userlist.txt newlist.txt

E

 tr -s ®^M’¡®^J’ userlist.txt newlist.tx

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

根据下列选项回答 116~119 题。

A.n=5.54(tR/Wh/2)2

B.T=W0.05h/2d1

C.CX=CR×(AX/AR)

D.CX=f(AX/(As/Cs))

E.R=2(tR2-tR1)/(W1+W2)

第 116 题 拖尾因子的计算公式为( )。


正确答案:B

第2题:

设关系R与关系S具有相同的目,且相对应的属性的值取自同一个域,则RNS可记作______。

A.{t|t∈R∨t∈S}

B.{t|tR∧tS}

C.{t|t∈R∧t∈S}

D.{t|tR∨tS}


正确答案:C

第3题:

已知两个样本的b1=b2,则有

A.n1=n2

B.r1=r2

C.tr1=tr2

D.tb2=tr2

E.tb1=tb2


正确答案:D

第4题:

已知两样本r1=r2,n1≠n2,则

A.tr1=tr2
B.两样本决定系数相等
C.以上均不对
D.b1=b2
E.tb1=tb2

答案:B
解析:

第5题:

WhichofthefollowingcommandswillchangeallCR-LFpairsinanimportedtextfile,userlist.txt,toLinuxstandardLFcharactersandstoreitasnewlist.txt?()

A.tr’\r\n’"<userlist.txt>newlist.txt

B.tr-c’\n\r’"<newlist.txt>userlist.txt

C.tr-d\r¯<userlist.txt>newlist.txt

D.tr\r¯\n¯userlist.txtnewlist.txt

E.tr-s?^M’¡?^J’userlist.txtnewlist.tx


参考答案:C

第6题:

设关系R与关系S具有相同的目,且相对应的属性的值取自同一个域,则R与S可记作( )。

A.{t|tR∨tS}

B.{t|t∈R∧tS}

C.{t|tR∧tS}

D.{t|tR∨tS}


正确答案:C

第7题:

设关系R和S的元数分别是r和s,则集合{t|t=∧tr ∈R∧ts∈S}标记的是A.R∪SB.R-SC.R∩SD.R×S

设关系R和S的元数分别是r和s,则集合{t|t=<tr,ts>∧tr ∈R∧ts∈S}标记的是

A.R∪S

B.R-S

C.R∩S

D.R×S


正确答案:D
解析:本题考查集合运算。集合的并:R∪S={t|t∈R∨t∈S},集合的差:R-S={t|t∈R∨t S},集合的交:R∩S={t|t∈R ∧t∈S},集合的广义笛卡尔积:R×S={t|t=tr, ts>∧tr∈Rts∈S}。正确答案为选项D。

第8题:

[说明]

请根据网页显示的效果图,将HtML文本(n)处的解答填写在相应的解答栏内。

[上图网页中的元素说明]

[HTML文档代码]

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta. http-equiv= "Content-Type"content="text/html;charset=gb2312"><title>添加学生信息</title>

</head>

<body>

<formaction="add_Student.jsp"method="post"name="addforml">

<tablewidth="412"border="0"align="center"celipadding="0"cellspacing="0">

<tr>

<td colspan="3" align="center"><hr size="1"></td>

</tr>

<tr>

<tdwidth="92"align="center"> 学号</td>

<td width="215">

<input name="txtNumber" type="text" id="txtNumber"> </td>

<tdwidth="105"rowspan="5"align="center"valign="middle">

(1)

</td>

</tr>

<tr>

<tdheight="26"align="center">姓名</td>

<td><input name= "txtName"type="text"id="txtName"></td>

</tr>

<tr>

<td align="center">性别</td>

<td>

(2) 男

<inputtype="radio"name="rbSex"value="女">女

</td>

</tr>

<tr>

<tdheight="21"align="center",籍 贯</td>

<td><select name="selHome” id="selHome">

(3)

<option value="江苏">江苏</option>

<option value="上海">上海</option>

<option value="北京">北京</option>

<option value="浙江">浙江</option>

<option value="山东">山东</option>

<option value="其他">其他</option>

</select></td>

</tr>

<tr>

<td align="center">电子邮件</td>

<td><inputname="txtEmail"type="text"id="txtEmail"></td>

</tr>

<tr>

<td align="center">联系电话</td>

<td><inputname="txtTel"type="text" id="txtTel"></td>

<td align="center">

(4)

</td>

</tr>

<tr>

<td height="15" colspan="3"><hr size="1"></td>

</tr>

<tr>

<td align="center",个人简介</td>

<td colspan="2">

(5)

</td>

</tr>

<tr>

<tdheight="23"colspan="3"align="center">

<inputtype="submit"name="Submit"value="提交">&nbsp;&nbsp;&nbsp;&nbsp;

<inputtype="reset"name="Submit2"value="重置"> </td>

</tr>

<tr>

<td height="23" colspan="3" align="center"><hr size="1"></td>

</tr>

</table>

</form>

</body>

</html>

(1)


正确答案:imgsrc="image3.png"width="80"height="100"alt="照片">
imgsrc="image3.png"width="80"height="100"alt="照片">

第9题:

理论塔板教为

A.n=5.44(tR/Wh/2)

B.n=5.54(tR/Wh/2)

C.n=5.54(tR/W)2

D.n=5.44(tR/Wh/2)2

E.n=5.54(tR/Wh/2)2


正确答案:E
理论塔板数的计算公式:n=5.54(tR/Wh/2)2。

第10题:

GC.HPLC法中的分离度(R)计算公式为()

AR=2(tR1-tR2)/(W1-W2)

BR=2(tR1+tR2)/(W1-W2)

CR=2(tR1-tR2)/(W1+W2)

DR=(tR2-tR1)/2(W1+W2)

ER=2(tR2-tR1)/(W1+W2)


E
R=2(tR2-tR1)/(W1+W2)

更多相关问题