Jim actually explained the rations, which was to deal with filnames containing spaces, he used the while loop in order to be able to put quotes around the filename.
Try your example with filenames with spaces and you will understand, with no spaces the xargs method is much more efficient.
However I believe the OP was asking for something more think this:
Hello experts,
I run Solaris 9. I have a below script which is used for gunzip the thousand files from a directory.
----
#!/usr/bin/sh
cd /home/thousands/gzipfiles/
for i in `ls -1`
do
gunzip -c $i > /path/to/file/$i
done
----
In my SAME directory there thousand of GZIP file and also... (4 Replies)
Dear other forum members,
I'm writing a script for my homework, but I'm scratching all over my head and still can't figure out what I did wrong. Please help me. I just started to learn about bash scripting, and I appreciate if anyone of you can point out my errors. I thank you in advance.
... (3 Replies)
Hey everyone,
I'm trying get a list of files using but also append some data located inside the file.
The log files contain two strings that I am trying to extract. These strings are surrounded by tags.
Here is a sample log file:
... (2 Replies)
Hi,
Could someone please assist on a quick way of How to extract data from indexed files (ISAM files) maintained in an UNIX(AIX) server.The file data needs to be extracted in flat text file or CSV or excel format .
Usually we have programs in microfocus COBOL to extract data, but would like... (2 Replies)
Hello experts,
Please help me in achieving this in an easier way possible. I have 2 csv files with following data:
File1
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:36:09,JOB_5340
08/23/2012 12:36:14,JOB_5340
08/23/2012 12:36:22,JOB_5350
08/23/2012... (5 Replies)
Hello Gurus,
Im new to scripting. Got struck with a file merge issue in Unix. Was looking for some direction and stumbled upon this site. I saw many great posts and replies but couldnt find a solution to my issue. Greatly appreciate any help..
I have three csv files -> Apex_10_Latest.csv,... (1 Reply)
We have the data looks like below in a log file.
I want to generat files based on the string between two hash(#) symbol like below
Source:
#ext1#test1.tale2 drop
#ext1#test11.tale21 drop
#ext1#test123.tale21 drop
#ext2#test1.tale21 drop
#ext2#test12.tale21 drop
#ext3#test11.tale21 drop... (5 Replies)
Discussion started by: Sanjeev G
5 Replies
LEARN ABOUT DEBIAN
ratproxy-report
RATPROXY-REPORT(1) User Commands RATPROXY-REPORT(1)NAME
ratproxy-report - report generator for the ratproxy tool
SYNOPSIS
ratproxy-report ratproxy.log
DESCRIPTION
This is essentially a prettyprinter for ratproxy logs. It removes dupes, sorts entries within groups, then sorts groups base don highest
priority within the group, and produces some nice HTML with form replay capabilities.
OPTIONS
ratproxy-report takes no options, only the name of the ratproxy-generated log file, and displays the generated HTML file on standard out-
put.
ENVIRONMENT
The environment variable RAT_URLPREFIX can be used to specify an absolute URL prefix for the trace/decompile links, if available. Otherwise
they will be referenced with relative links. If the generated report will be stored in a directory different from the parameter -v to rat-
proxy, then you should set this variable to that directory.
EXAMPLES
$ ratproxy-report ratproxy.log >report.html
AUTHOR
ratproxy is written and maintained by Michal Zalewski <lcamtuf@google.com>
This manual page was generated via help2man by Iustin Pop <iusty@k1024.org> for the Debian project (but may be used by others).
SEE ALSO ratproxy(1)ratproxy 1.56-beta April 2009 RATPROXY-REPORT(1)