I am having a problem executing a sed substitute in a file. I have tried alot of different things I found in previous posts, however non seem to work.
I want to substitute this in $FILE:
VALUE=33.4
In the script I have tried the following:
prev=$(awk -F"=" '{ print $2 }' $FILE )
new=$(echo... (16 Replies)
Hello,
I'm trying to apply the patch on Solaris 9 :
$/jac/update$ patchadd ./112945-46
Checking installed patches...
One or more patch packages included in
112945-46 are not installed on this system.
Patchadd is terminating.
The error message is not really talkative so I had a... (7 Replies)
Hi All,
I'm currently using SED to make various changes to some .xml files I'm working on, but I'm stuck on this particular problem.
I want to remove '<placeholder>element-name</placeholder>' from the following:
<heading>Element <placeholder>element-name</placeholder> not... (2 Replies)
I am trying to get rid of some ending tags but I run into some problems.
Ex.
How are you?</EndTag><Begin>It is fine.</Begin><New> Just about
I am trying to get rid of the ending tags, starts with </ and ending with >. (which is </EndTag> and </Begin>)
I tried the following
sed... (2 Replies)
I'm using sed to perform a simply search and replace. The typical data is:
<fig><image href="Graphics/BAV.gif" align="left" placement="break"
I need to replace the value in the first set of quotes, keeping the remainder of the line the same. Thus:
<fig><image href="NEW_VALUE" align="left"... (3 Replies)
HI there. My teacher asked us to write a code for this question
Write a Unix shell script named 'mode' that accepts two or more arguments, a file mode, a command and an optional list of parameters and performs the given command with the optional parameters on all files with that given mode. ... (1 Reply)
Write a Unix shell script named 'mode' that accepts two or more arguments, a file mode, a command and an optional list of parameters and performs the given command with the optional parameters on all files with that given mode.
For example, mode 644 ls -l should perform the command ls -l on all... (5 Replies)
I am trying to do what I thought should be a simple substitution, but I can't get it to work.
File:
Desire output:
I thought I'd start with a sed command to remove the part of the header line preceding the string "comp", then go on to remove the suffix of the target string (e.g. ":3-509(-)"),... (3 Replies)
Greetings Experts,
I am on AIX and in process of creating a re-startable script that connects to Oracle and executes the statements. The sample contents of the file1 is
CREATE OR REPLACE VIEW DB_V.TAB1 AS SELECT * FROM DB_T.TAB1;
....
CREATE OR REPLACE VIEW DB_V.TAB10 AS SELECT * FROM... (9 Replies)
hi all,
i'd like to modify a file with sed , i want to substuite a char "-" with "/"
how can i do this?
Thanks for all
regards
Francesco (16 Replies)
Discussion started by: Francesco_IT
16 Replies
LEARN ABOUT DEBIAN
notmuch-tag
NOTMUCH-TAG(1) General Commands Manual NOTMUCH-TAG(1)NAME
notmuch-tag - Add/remove tags for all messages matching the search terms.
SYNOPSIS
notmuch tag +<tag>|-<tag> [...] [--] <search-term>...
DESCRIPTION
Add/remove tags for all messages matching the search terms.
See notmuch-search-terms(7) for details of the supported syntax for <search-terms>.
Tags prefixed by '+' are added while those prefixed by '-' are removed. For each message, tag removal is performed before tag addition.
The beginning of <search-terms> is recognized by the first argument that begins with neither '+' nor '-'. Support for an initial search
term beginning with '+' or '-' is provided by allowing the user to specify a "--" argument to separate the tags from the search terms.
notmuch tag updates the maildir flags according to tag changes if the maildir.synchronize_flags configuration option is enabled. See not-
much-config(1) for details.
SEE ALSO notmuch(1), notmuch-config(1), notmuch-count(1), notmuch-dump(1), notmuch-hooks(5), notmuch-new(1), notmuch-reply(1), notmuch-restore(1),
notmuch-search(1), notmuch-search-terms(7), notmuch-show(1),
Notmuch 0.13.2 2012-06-01 NOTMUCH-TAG(1)