Zcat .z no such file
I have a file Now when i'm doing zcat Z: A file or directory in the path name does not exist. Why is it adding 'Z' at the end? I also read that zcat doesn't renames the file. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 5 years, 4 months ago. Active 5 years, 4 months ago. Viewed times.
It can process files with extensions 'gz' , 'z' or 'Z' I have a file Connect and share knowledge within a single location that is structured and easy to search.
I need to unzip a compressed file on the fly in my program. It works when I try it on my own linux computer, but for some reason the school computers fail whenever I tell them to do it. To unzip I'm using the following command:. I tried looking through the documentation but couldn't find a flag to turn off this odd behavior. Your school's system still has the old "compress" style utilities rather than the newer GNU "gzip" based ones. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 13 years, 1 month ago. Active 4 years, 2 months ago. Viewed 22k times. Z: No such file or directory I tried looking through the documentation but couldn't find a flag to turn off this odd behavior. Any help will be greatly appreciated. Improve this question. Zain Rizvi. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Asked 7 years, 11 months ago. Active 1 year ago. Viewed 55k times. Zip archive data, at least v2. Improve this question. If it's Zip archive data, it's not in gzip format! MichaelHampton I can zcat on linux fine.
Neither zcat nor gzcat works on osx. So how can I resolve this? Is there another set of utilities I can install which will work both on linux as well as osx? These scripts are my own so I can change them although I'd like to keep them simple. I wouldn't say it's routine. I generally use zip to deal with zip files, not gzip.
Add a comment. Active Oldest Votes. You are right. It's annoying behavior. Improve this answer. This works ok on OS X. Apparently my answer is wrong. Linux zcat will read. Z files. The issue here isn't one of stdin vs.
How would we pipe this to another process?