KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a portion of a bash script that is getting a filename without extension, but I'm trying to understand what is really going on here. What are the "%%"'s for? Can someone elaborate on what bash is doing behind the scenes? How can this technique be used on a general basis? #!/bin/bash for src in *.tif do txt=${src%%.*} tesseract ${src} ${txt} done
Tags (comma-separated)
Save Edits
Cancel