cat $filepath | while read line; do echo $line ; done
#!/bin/bash #filepath=/opt/jenkins_home/workspace/dev-demo-haha/target/classes/application.yml filepath=$1 if [ -f $filepath ]; then echo -e "\n\n\n" echo ================= print file $filepath start ====================cat $filepath | while read line; do echo $line ; done ================= print file $filepath end ====================" else ================>$filepath is not found,print file faildfi
@H_502_49@