Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
shell foreach line
Charlie
Programming language:
Shell/Bash
2021-07-19 10:27:36
0
Q:
shell foreach line
Greg Lee
Code:
Shell/Bash
2021-03-10 01:08:36
cat file | while read -r a; do echo $a; done
0
Tags
line
shell
Related
powershell for each loop
foreach powershell
powershell foreach
shell go to beginning of line
for loop iteration in shell script
foreach loop powershell
how to perform an action for each line in bash
shell count lines output
bash script until loop
shell count number of lines
for loop in shell script
bash endless loop
how to get to end of line shell
how to collect values from each iteration of a loop and save them bash
New to Communities?
Join the community