Your question is unclear; Are you talking about reading a filename that happens to contain PDF, or reading a PDF file itself?
The shell script doesn't know or care what kind of files you are using. It all depends on what you intend to do with the file.
Chat with our AI personalities