Hi All,
I have an expression as follows:-
a=`expr ${i} + ${j}` >> $log_file 2>&1
Here, if any of the values i or j or both happens to be empty then the "expr" returns error as
"expr: 0402-050 Syntax error." My problem is I am not able to re-direct this error to the log file. Its is getting... (4 Replies)
Hi,
I have a script to compare 2 files.
file1=$1
file2=$2
num_of_records_file1=`awk ' END { print NR } ' $file1`
num_of_records_file2=`awk ' END { print NR } ' $file2`
i=1
while
do
sed -n "$i"p $file1 > file1_temp
sed -n "$i"p $file2 > file2_temp
diff file1_temp... (5 Replies)
Hi there,
We have 2 apps on our customers machines that can both open files with the same file extension. Is there any way via shell commands to set which application should be the default?
Essentially, I'm hoping to replicate Get Info > Open With > Change All using a shell script, but I just... (0 Replies)
Hello, currently we are executing a .sh from terminal.
The current .sh looks like this:
#!/usr/bin/env bash
/Users/user/my.app/Contents/MacOS/my &
--
Now, we also need to run a third line in the .sh - It's a command line application that I need to run when I execute the above .sh... (0 Replies)
#!/bin/ksh -x
cd /tmp/tj
ftp -n servername.com << DONE
user username password
as
put test.log
quit
close
DONE
echo "testing..."
sh -x scriptname, and it shows all, but username, as, put, quit, close, DONE.
how can i see those ? (1 Reply)
Hi guys,
been scratching round the forums and my mountain of resources.
Maybe I havn't read deep enough
My question is not how sed edits a stream and outputs it to a file, rather something like this below:
I have a .txt with some text in it :rolleyes:
abc:123:xyz
123:abc:987... (7 Replies)
What is the best practice to allow a 3rd party health monitoring app to read the messages file. Since messages is a system file and is owned by root the app cannot read the file. I don't want to run the app as root so how should I allow the app to read the file. The read function is actually built... (2 Replies)
Discussion started by: slwiley
2 Replies
LEARN ABOUT DEBIAN
lr_xml2report
LR_XML2REPORT.IN(1) LogReport's Lire Documentation LR_XML2REPORT.IN(1)NAME
lr_xml2report - Format a XML report to the appropriate output format
SYNOPSIS
lr_xml2report [options] [report_file] [output_file]
lr_xml2report --version
lr_xml2report --help [dlf-converters|output-formats|report-templates]
OPTIONS --help [section]
If no argument is given, prints usage information and exits. Argument can be one of the following:
dlf-converters
Prints the list of available DLF converters and exits.
output-formats
Prints the list of available output formats and exits.
report-templates
Prints the list of available report templates and exits.
--output-format output format
Selects the ouput format in which to generate the report.
--template name
Uses the report configuration template named name to merge the reports. This option is required when using the --merge option to merge
reports.
--merge report_file
Merge report_file before formatting the report. This option can be used multiple times to merge more than two reports.
DESCRIPTION
lr_xml2report converts the XML reports generated by Lire to various output format.
The script could be run as e.g.
lr_xml2report --output-format pdf --template print_default
--merge report.2.xml --merge report.1.xmlreport.3.xml > report.pdf
(in multiple XML input files mode) or as
run lr_xml2report --output-format txt report.xml report.txt
(in single XML input file mode).
SEE ALSO lr_log2mail(1), lr_log2report(1), lr_xml2mail(1), lire(1), lire(7), documentation in the Lire User Manual
AUTHORS
Joost van Baal <joostvb@logreport.org>
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: lr_xml2report.in,v 1.24 2006/07/23 13:16:33 vanbaal Exp $
COPYRIGHT
Copyright (C) 2000-2004 Stichting LogReport Foundation LogReport@LogReport.org
This program is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 LR_XML2REPORT.IN(1)