Skip to content

Instantly share code, notes, and snippets.

@fishkingsin
Created December 27, 2012 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fishkingsin/4385524 to your computer and use it in GitHub Desktop.
Save fishkingsin/4385524 to your computer and use it in GitHub Desktop.
write find result to temp.txt read each lind with double quot.
#!/bin/bash
target_file="temp.txt"
# process each line
cat "$target_file" |
while read each_line; do
echo "....$each_line"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment