hi,
I get this error message after I pipe a lot of output into grep. Does anyone know what his means?
grep: writing output: Invalid argument
thanks,
gammaman (3 Replies)
Hello...
I'm trying to run the sshd script, but I keep geting the Syntax errot message .
Here's the last few lines on the script. set nu in vi shows 58 lines, but I keep getting error referring to line 59. Any help is appreciated.
Thanks,
Remi
else
echo... (4 Replies)
My file creates an output log after which includes a few sql queries.
I segregate them into warnings and errors and then get a total count.
The errors' and warnings' lines always start with SQL{4} followed by the details of the error.
This is what im doing as o now...
errors=`grep -A 1 -E... (1 Reply)
Hi Folks,
I got to know from this forums on how to grep from a particular line say line 6
awk 'NR==6 {print;exit}'
But how do i grep from line 6 till the end of the file or command output.
Thanks, (3 Replies)
Does anyone know how to use awk to act like grep from a particular line number to the end of file? I am using Solaris 10 and I don't have any GNU products installed.
Say I want to print all occurrences of red starting at line 3 to the end of file.
EXAMPLE FILE:
red
green
red
red... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
#/bin/sh -xv
#Author: Lauren Buecker
#Date: September 28 2012
#Class COP3353
#Assignment: Assignment 4... (7 Replies)
I'm trying to grep lines where the digits at the end of each line are greater than digits. Tried this but it will only allow me to specify 2 digits. Any ideas would greatly be appreciated. grep -i '\<\{3,4,5\}\>' file
---------- Post updated at 05:58 PM ---------- Previous update was at 05:41... (1 Reply)
In COBOL, a hyphen can be used in a field name and in a specific program some field names would be identical to others except a suffix was added--sometimes a suffix to a suffix was used. For example, assume I am looking for AAA, AAA-BBB, and AAA-BBB-CCC and don't want to look at AAA-BBB-CCC... (7 Replies)
Hi,
i need to cat a file after # till the end of the file
usually ill do cat /etc/somthing | grep -A999999 #
but its not that professional
thanks
edit by bakunin: please use CODE-tags (or ICODE-tags) for code and data. Thank you. (9 Replies)
Discussion started by: batchenr
9 Replies
LEARN ABOUT DEBIAN
alzabo::debug
Alzabo::Debug(3pm) User Contributed Perl Documentation Alzabo::Debug(3pm)NAME
Alzabo::Debug - Creates constants used to turn on debugging
SYNOPSIS
export ALZABO_DEBUG='SQL|TRACE'
... load and run code using Alzabo ...
export ALZABO_DEBUG=METHODMAKER
... load and run code using Alzabo ...
DESCRIPTION
This module creates constants used by other modules in order to determine what debugging output should be generated.
The interface is currently experimental.
USAGE
Currently, the only way to turn on debugging is by setting the "ALZABO_DEBUG" environment variable. This variable can contain various
flags, each separated by a pipe char (|). Each flag turns on different types of debugging output.
These flags must be set before Alzabo is loaded, as debugging is turned on or off through the use of constants.
The current flags are:
* SQL
Generated SQL and its associated bound variables.
* TRACE
A stack trace will be generated any time SQL is generated.
* METHODMAKER
The "Alzabo::MethodMaker" module will generate verbose output describing the methods it is creating.
* REVERSE_ENGINEER
The modules involved in reverse-engineering will generate output describing what it finds during reverse-engineering.
* ALL
Turn on all flags.
For now, all debugging output is sent to "STDERR".
perl v5.8.8 2007-12-23 Alzabo::Debug(3pm)