I think I get what you mean. Need to get the hang of trying to understand these regex.
I tested as below.
It gives the output that am after.
Will try with the real file that I am wanting to change.
Thanks for giving your time and effort to answer questions and helping newbies like me understand awk.
I have a huge file, millions of lines, so perl takes quite a bit of time, I'd like to convert these perl one liners to awk.
Basically I'd like all lines with ISA sandwiched between... (9 Replies)
Hi guys, I asked for help on programming forums and no one didn't helped me so I ask for help here. I am playing with some tasks from my book and I can't figure where did I get wrong.
From the first program I get a blank screen, program won't generate 10*10 matrix.
And second problem is I... (6 Replies)
Hi,
I need to run a search and replace on a large database,
what I need to change is all instances of
#### (eg. 1764 or 1964)
to
(####) (eg. (1764) or (1964))
But there might be other numbers in there such as
(1764) and I do not need those changed to ((1764))
How can I... (7 Replies)
Hi,
I'm trying to match the front and back of a sequence. It works when there is an exact match (obviously), but I need the regex to be more flexible. When we get strings of nucleotides sometimes their prefixes and suffixes aren't exact matches. Sometimes there will be an extra letter and... (2 Replies)
I have file which contains data in the following format all in a single line:
BDW_PUBLN_ID DECIMAL(18:0) NOT NULL PRIMARY INDEX ARGO_ACCT_DEP_PI ( OFC_ID ,CSHBX_ID ,TRXN_SEQ_NUM ,PROCG_DT ) PARTITION BY RANGE_N(PROCG_DT BETWEEN DATE '2012-03-01' AND DATE '2014-12-31' EACH INTERVAL '1' MONTH );... (4 Replies)
Basically what the title says. Had to replace the motherboard on an HP DL380 G6 today, of course now the embedded NICs don't work because the ifcfg-eth files have the MAC addresses for the embedded NICs from the old machine.
How can I find the new/correct MAC addresses so I can edit the... (2 Replies)
Have Pipe Delimited File:
> BRYAN BAKER|4/4/2015|518 VIRGINIA AVE|TEST
> JOE BAXTER|3/30/2015|2233 MockingBird RD|ROW2On 3rd column where the address is located, I want to add a space after every numeric value - basically doing a "s//&\ / ":
> BRYAN BAKER|4/4/2015|5 1 8 VIRGINIA AVE|TEST
> JOE... (5 Replies)
Discussion started by: svn
5 Replies
LEARN ABOUT DEBIAN
smd-server
smd-server(1) Sync Mail Dir (smd) documentation smd-server(1)NAME
smd-server - sends diffs and mails to smd-client
SYNOPSIS
smd-server [--exclude glob] [-v|--verbose] [-d|--dry-run]
[--get-mddiff-cmdline] [--stop-after-diff]
[--override-db dbf] [--dump-stdin tgt] endpoint mailboxes
DESCRIPTION
smd-server needs to know a name (endpoint) for the client (that must not be used by others) and a list of mailboxes (directories).
smd-server first calls mddiff(1), then prints on stdout the generated diff. It then accepts from stdin a small set of commands a client may
issue to request a file (or parts of it, like the header).
smd-server is in charge of committing the db file used by mddiff(1) in case the client communicates a successful sync.
OPTIONS -v --verbose
Increase program verbosity (printed on stderr)
-d --dry-run
Do not perform any action for real
-n --no-delete
Do not track deleted files
--exclude glob
Exclude paths matching glob
--override-db dbf
Use dbf as the db-file
--get-mddiff-cmdline
Print the command line used for mddiff and then exist
--stop-after-diff
Send the actions to the other endpoint and exit. If used in conjunction with --override-db, dbf is removed just before exiting
--dump-stdin tgt
Dump standard input to tgt and exit
NOTES
smd-server is a low level utility. You should use higher level tools like smd-pull(1) and smd-push(1)SEE ALSO mddiff(1), smd-client(1), smd-pull(1), smd-push(1)AUTHOR
Enrico Tassi <gares@fettunta.org>
11 June 2012 smd-server(1)