Linux Today: Linux News On Internet Time.

Handle Compressed and Uncompressed Files Uniformly

Apr 13, 2009, 08:03 (0 Talkback[s])
(Other stories by David Sinck)

"Now, when you want to process the files, you can use: for file in * ; do

data_source $file | ...

"If you have bzip2 files, just modify the data_source function to check for that also."

Complete Story

Related Stories: