Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Grep to ignore suffix & find end of line


Login or Register to Reply

 
Thread Tools Search this Thread
# 8  
The GNUCobol compiler can produce a cross reference. It supports most dialects, so you might get a clean compile.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Grep command to ignore line starting with hyphen
Srinraj Rao
Hi, I want to read a file line by line and exclude the lines that are beginning with special characters. The below code is working fine except when the line starts with hyphen (-) in the file. for TEST in `cat $FILE | grep -E -v '#|/+' | awk '{FS=":"}NF > 0{print $1}'` do . . done How...... Shell Programming and Scripting
4
Shell Programming and Scripting
How to ignore comments at the end of the each line?
sharsour
Hi All, I am reading the host file by ignoring the comments and write it to the other file. I am reading with regular expression for IP address. grep -E '^{1,3}\.{1,3}\.{1,3}\.{1,3}' $inputFile | awk '{for(i=2;i<=NF;i++)print $1,$i}' > $DR_HOME/OS/temp After that am reading each host...... Shell Programming and Scripting
4
Shell Programming and Scripting
Using Grep & find & while read line in a script
Abv_mx81
Hello people! I would like to create one script following this stage I have one directory with 100 files File001 File002 ... File100 (This is the format of content of the 100 files) 2012/03/10 12:56:50:221875936 1292800448912 12345 0x00 0x04 0 then I have one...... Shell Programming and Scripting
0
Shell Programming and Scripting
How to use grep & find command to find references to a particular file
Gangam
Hi all , I'm new to unix I have a checked project , there exists a file called xxx.config . now my task is to find all the files in the checked out project which references to this xxx.config file. how do i use grep or find command .... Shell Programming and Scripting
2
Shell Programming and Scripting
Find a string using grep & print the line above or below that.
Zaib
Hi All, Please tell me how can I Find a string using grep & print the line above or below that in solaris? Please share as I am unable to use grep -A or grep -B as it is not working on Solaris.... Shell Programming and Scripting
10
Shell Programming and Scripting
pogrep(1)						      Translate Toolkit 1.9.0							 pogrep(1)

NAME
pogrep - Grep XLIFF, Gettext PO and TMX localization files
SYNOPSIS
pogrep [--version] [-h|--help] [--manpage] [--progress PROGRESS] [--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE] [-o|--output] OUTPUT [--search SEARCHPARTS] [-I|--ignore-case] [-e|--regexp] [-v|--invert-match] [--accelerator ACCELERATOR] [-k|--keep- translations]
DESCRIPTION
Matches are output to snippet files of the same type which can then be reviewed and later merged using pomerge See: http://trans- late.sourceforge.net/wiki/toolkit/pogrep for examples and usage instructions
OPTIONS
--version show program's version number and exit -h/--help show this help message and exit --manpage output a manpage based on the help --progress show progress as: dots, none, bar, names, verbose --errorlevel show errorlevel as: none, message, exception, traceback -i/--input read from INPUT in xliff, mo, xlf, tmx, gmo, pot, xlff, po formats -x/--exclude exclude names matching EXCLUDE from input paths -o/--output write to OUTPUT in xliff, po, mo, xlf, tmx, gmo, pot, xlff formats --search searches the given parts (source, target, notes and locations) -I/--ignore-case ignore case distinctions -e/--regexp use regular expression matching -v/--invert-match select non-matching lines --accelerator ignores the given accelerator when matching -k/--keep-translations always extract units with translations Translate Toolkit 1.9.0 pogrep(1)

Featured Tech Videos