The previous did not work for me.
Perhaps because of the mistake that a test buffer makes assumptions about the contents that can go wrong.
Better have a separate state variable (here: buffer_on) --- Post updated at 12:07 ---
Introducing a separator variable:
one can include/exclude the Start and/or End pattern by simply changing the order of the 3 code blocks.
Sir,
I want to check for the repation of a user address in a file i used || as my delimiter and want to check repetaip0n of the address that is mailid and then i have to use IMAP and all.
How can i do this...
I am in linux ...and my file is linux file.
... (5 Replies)
Hi all
I have a file with below content (content is variable whenever new product is launched). I need form a grep command like this
egrep "Unknown product|Invalid symboland so on"
How to do it using a script?
Unknown product
Invalid symbol
No ILX exch found
exceeds maximum size
AFX... (4 Replies)
Hi all,
I'm looking for some help. I have a file (very long) that is organized like below:
>Cluster 0
0 283nt, >01_FRYJ6ZM12HMXZS... at +/99%
1 279nt, >01_FRYJ6ZM12HN12A... at +/99%
2 281nt, >01_FRYJ6ZM12HM4TS... at +/99%
3 283nt, >01_FRYJ6ZM12HM946... at +/99%
4 279nt,... (4 Replies)
I hava a file with following data:
number|CREDIT_ID|NULL
date|SYS_CREATION_DATE|NULL
varchar2|GGS_COMMIT_CHAR|NULL
varchar2|GGS_OP_TYPE|NULL
number|GGS_SCN|NULL|
number|GGS_LOG_SEQ|NULL
number|GGS_LOG_POS|NULL
number|GGS_ORACREC_SCN|NULL
varchar2|BATCH_ID|NULL
char|GGS_IMAGE_TYPE|NULL
... (6 Replies)
Hi,
I am trying to locate the occurences of certain pattern like 'Possible network disconnect' in a text file. I can get the actual lines matching the pttern using:
grep -w 'Possible network disconnect' file_name.
But I am more interested in getting the timing of these events which are... (7 Replies)
Dear all,
Greetings.
I would like to ask for your help to extract lines with specific words in addition 2 lines before and after these lines by using awk or sed.
For example, the input file is:
1 ak1 abc1.0
1 ak2 abc1.0
1 ak3 abc1.0
1 ak4 abc1.0
1 ak5 abc1.1
1 ak6 abc1.1
1 ak7... (7 Replies)
Hello dear Unix shell professionals,
I am desperately trying to get a seemingly simple logic to work. I need to extract words from a text line and save them in an array. The text can look anything like that:
aaaaaaa${important}xxxxxxxx${important2}ooooooo${importantstring3}...I am handicapped... (5 Replies)
'Hi
I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.
Which option is to be used to exclude the line containing the pattern?
sed -n '/Conn.*User/,$p' > consumers.txt (11 Replies)
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
Hello,
I have two files. All urls are space seperated.
source
http://xx.yy.zz http://df.ss.sd.xz http://09.09.090.01
http://11.22.33 http://canada.xx.yy http://01.02.03.04
http://33.44.55 http://98.87.76.65 http://russia.xx.zz
http://aa.tt.xx.zz http://1w.2e.3r.4t http://china.rr.tt
... (4 Replies)
Discussion started by: baris35
4 Replies
LEARN ABOUT DEBIAN
wmanager
WMANAGER(1) BSD General Commands Manual WMANAGER(1)NAME
wmanager -- choose a window manager and launch it
SYNOPSIS
wmanager [OPTIONS ...]
DESCRIPTION
The wmanager program displays a choice of the window managers listed in the ~/.wmanagerrc file. When one is picked, the related command is
written to standard output, intended to be used by shell scripts. If the program is exited without choosing a window manager, ``-1'' is
written to standard output.
-fg COLOR
Set the foreground color.
-bg COLOR
Set the background color.
-bg2 COLOR
Set the widget background color
-di[splay] host:n.n
Set the X display.
-dn[d], -nod[nd]
Enable/disable drag & drop, probably does nothing.
-g[eometry] WxH+X+Y
Set the window size and location.
-i[conic]
Start as iconified.
-k[bd], -nok[bd]
Enable/disable keyboard support.
-na[me] CLASSNAME
Set the X window class.
-s[cheme] SCHEME
Unknown, probably does nothing useful.
-ti[tle] WINDOWTITLE
Set the window title.
-to[oltips], -not[ooltips]
Enable/disable tooltips, probably does nothing.
EXAMPLE
To start using wmanager, create a ~/.wmanagerrc file - generally with wmanagerrc-update(1) - and add something like the following at the end
of your ~/.xsession file:
WM="$(wmanager -geometry +570+585)"
...
exec $WM
See also wmanager-loop(1) for a nicer way to start wmanager.
SEE ALSO wmanager(1), wmanager-loop(1), wmanagerrc-update(1), X(7x)HISTORY
The wmanager program was written by Meik Tessmer in 1999. This manual page was originally written in perldoc format by Tommi Virtanen in
2000, and converted to mdoc format by Peter Pentchev in 2008.
AUTHORS
The wmanager program - Meik Tessmer <fuller@daemogorgon.net>.
The manual page - Tommi Virtanen <tv@debian.org> and Peter Pentchev <roam@ringlet.net>.
BSD May 22, 2008 BSD