shell 输出文件内容 cat $filepath | while read line; do echo $line ; done#!/bin/bash#filepath=/opt/jenkins_home/workspace/dev-demo-haha/target/classes/application.ymlfilepath=$1if [ -f $filepath ]; then ... shell 2023-12-14 146 点赞 2 评论 221 浏览