首页
话题
动态
专家
文章
作者
公告
更多
积分规则
登录 或 注册
首页
话题
动态
专家
文章
作者
公告
积分规则
发表新帖
发表新帖
How to read mutliline input from stdin into variable and how to print one out in shell(sh,bash)?
后端
未结
关注
6
700
别那么骄傲
2020-12-23 11:09
What I want to do is the following:
read in multiple line input from
stdin
into variable
A
make various operations on
6条回答
夕颜
(楼主)
2020-12-23 11:41
tee
does the job
#!/bin/bash myVar=$(tee)
0
讨论(0)
查看其它6个回答
发布评论:
提交评论
加载中...
验证码
看不清?
提交回复
热议问题