DEV Community

Discussion on: Two Bash scripts I cannot live without when working with Git

jsn1nj4 profile image
JSn1nj4β€β€πŸ‘¨β€πŸ’» • Edited on

What about wc -l "$TO_REMOVE"?

Thread Thread
erykpiast profile image
Eryk NapieraΕ‚a Author

I don't think it gonna work. It tries to read a file under the path saved in $TO_REMOVE variable. That's not what we want to do.

Thread Thread
jsn1nj4 profile image
JSn1nj4β€β€πŸ‘¨β€πŸ’»

Oh interesting. Never mind then. Thanks for helping me understand all of this.