11132
13069
11137
11142
13070
Can I use grep command to exclude all lines beginning with 13?
I dont want to use grep -v 13 as potentially there will be a number with something like 11013 that I would exclude in error.. (2 Replies)
Hi ,
I have 5 columns total and am wanting to search lines in columns 3-5 and basically grep -v patterns that match 'BBB_0123' 'BVG_0895' 'BSD_0987'
Does anyone know how to do this? I tried combining grep -v with grep -e but, it didn't work.
Thanks! (5 Replies)
I am trying to do some thing like this ..
In a file , if pattern found insert new pattern at the begining of the line containing the pattern.
example:
in a file I have this.
gtrow0unit1/gctunit_crrownorth_stage5_outnet_feedthru_pin
if i find feedthru_pin want to insert !! at the... (7 Replies)
Hi All
I am using regular expressions to determine how to group certain data. I've included an example of the data below.
USD_SPTR_2Y_725.5_PUT_EUROPEAN_09Q1|USD||European|
CAD_NDX_10Yx1Y_5.5_PUT_EUROPEAN_09Q1|CAD||European|
The regular expressions I am using is as follows and this is... (5 Replies)
Hi, I am writing an sql query in which i have to choose only that url that are from particular host but are not zip files. something like:
select * from mytable where url like '%myhost%' and url not like '%zip%'
Is there a simple way to combine these two condition into one? (3 Replies)
I am familiar with using tar and exclude/include files:
tar zcf backup.dirs.tgz --files-from=include.mydirs --exclude-from=exclude.mydirs --no-recursion
but was wondering if I could use find in the same way. I know that you can just specify the directories to exclude but my list is... (2 Replies)
Hi experts , im new to Unix,AWK ,and im just not able to get this right.
I need to match for some patterns if it matches I need to print the next few words to it.. I have only three such conditions to match… But I need to print only those words that comes after satisfying the first condition..... (2 Replies)
All,
I am trying delete folder by adding pattern not to delete certain folders. But i struck with error.
When i use below command from command line, it works fine.
shopt -s extglob
rm -rf !(test1|test2|test3)
But when i use the same in shell script, i get the below error.
syntax... (6 Replies)
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
LEARN ABOUT DEBIAN
hlins
HLINS(1) General Commands Manual HLINS(1)NAME
hlins - insert url's into html documents
SYNOPSIS
hlins [options] [infile]
DESCRIPTION
hlins is a program that inserts hypertext links into html documents, according to one or several data bases associating addresses (url's)
to names. hlins is designed for inserting links for persons: It knows about abbreviations of first and middle names and tolerated dropping
of the last part of a composite last name.
If no file argument is given then input is taken from stdin; when no output option (see below) is given then output goes to stdout.
For a complete description, see the documention in html format.
OPTIONS
hlins follows the usual GNU command line syntax, with long options starting with two dashes (`--').
-o, --output-file file
Write to file instead of standard output
-h, --help
Show a summary of options.
-v, --version
Show the version of the program.
-q, --quiet
Surpress diagnostic output.
-db, --data-bases files ...
Use files ... as data bases
-m, --modify files ...
Dont't act as filter but perform in-pace modifications of files.
-R, --recursive
Recursively descend into directories and act on all files with names ending on .html.
-td, --tmp-dir dir
Use directory dir to create temporary files.
--db-to-html
List the address data bases in HTML format to stdout.
ENVIRONMENT
TMPDIR default directory for creating temporay files.
VERSION
This manual pages describes version 0.39.
SEE ALSO
The full documentation with examples should be available in /usr/share/doc/hlins/.
See also the hlins home page http://www.lsv.ens-cachan.fr/~treinen/hlins/.
AUTHOR
Ralf Treinen <treinen@debian.org>.
July 25, 2000 HLINS(1)