07-23-2008 01:00 AM
In this context, a one-liner is a set of commands normally joined through a pipe (|). When joined by a pipe, the command on the left passes its output to the command on the right. Simple or complex, you can get useful results from a single line at the bash command prompt.
I wanted to say LOL and punch my face when I saw post#11 (where Don_Cragun even reduced the string manipulation with a simple regex) in the thread https://www.unix.com/shell-programming-scripting/220553-add-0-start-filename-2.html
I mean, when things can be done with just a one liner, sometimes I... (6 Replies)
Guys,
I have a requirement like this.
A file has >5K records always. Separated by "|", it has 30 fields for each line. In some lines, I am getting an odd field. say, the 15th field is supposed to be 2 characters but comes in as >2. In this case, for resolving this I need to copy the value of... (6 Replies)
REPORT-CLI(1) LIBREPORT MANUAL REPORT-CLI(1)NAME
report-cli - Work with ABRT problem directories from command line.
SYNOPSIS
report-cli [-vsp] -L[PREFIX] [PROBLEM_DIR]
report-cli [-vsp] -e EVENT PROBLEM_DIR
report-cli [-vsp] -a[y] PROBLEM_DIR
report-cli [-vsp] -c[y] PROBLEM_DIR
report-cli [-vsp] -r[y|o|d] PROBLEM_DIR
DESCRIPTION
report-cli is a command line tool that manages application crashes and other problems caught by abrtd daemon, or created by other programs
using libreport. It enables access to, manipulation of problem data, and reporting.
OPTIONS
-L[PREFIX]
List possible events [which start with PREFIX]
-e EVENT
Run EVENT on PROBLEM_DIR
-a, --analyze
Run analyze event(s) on PROBLEM_DIR
-c, --collect
Run collect event(s) on PROBLEM_DIR
-r, --report
Analyze, collect and report problem data in PROBLEM_DIR
-d, --delete
Remove PROBLEM_DIR after reporting
-y, --always
Noninteractive: don't ask questions, assume positive answer to all of them
-o, --report-only
With -r: do not run analyzers, run only reporters
-v, --verbose
Be verbose
-s
Log to syslog
-p
Add program names to log
-V, --version
Display version and exit
AUTHORS
o ABRT team
LIBREPORT 2.1.11 06/18/2014 REPORT-CLI(1)