Hello ALL,
I really need help to grep data and store in particular format. I am struggling to write that script .Please help me to solve this problem otherwise i will loose my job...
I have to compare 2 files and generate the staticts of the data.
First file product.dat contains 2 column . ... (4 Replies)
Hi All,
I'm using the following script to produce a result:
#!/bin/sh
awk ' $0 ~ /\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+Interface\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+/ {
match_str="YES"; line_cnt=0; next; }
{
if((line_cnt < 5) && ( match_str=="YES"))
{
print $0;
line_cnt += 1;
}
else... (0 Replies)
Dear Members,
I have string like this
string1="file2.txt file4.txt kittu.txt file1.txt"
in this i need to cut spaces and take each one has one file
output should be
---------
fileslist:4
file2.txt
file4.txt
kittu.txt
file1.txt
is it possible, please tell me how it possible
... (5 Replies)
Hi guys,
i have a problem which im hoping you will be able to help me with.
I have follwing output :-
-------------------------------------------------------------------------------
NSTEP = 407000 TIME(PS) = 43059.000 TEMP(K) = 288.46 PRESS = 0.0
Etot = -2077.4322 ... (2 Replies)
In a bash script, I'm looking for a way to set each matching line of a file into its own variable, or variable array.
As an example, i have a crontab file with several entries:
00 23 * * * /usr/local/bin/msqlupdate -all
00 11 * * * /usr/local/bin/msqlupdate -inc
00 03 * * *... (2 Replies)
Hi,
I have a string as
str="route net,-hopcount,1,255.255.255.0,10.230.20.111,10.230.20.234 Route True route net,-hopcount,0,-netmask,255.255.248.0,0,10.230.23.254 Route True"
I need to split this string into two lines as
route net,-hopcount,1,255.255.255.0,10.230.20.111,10.230.20.234... (4 Replies)
hi this is a problem statement i have tried real hard but could not come up with a satisfactory program can someone help
you are to create a pair of programs that do the following in this order:
1 one of the program creates a FIFO which another program should be able to write into
2 the... (2 Replies)
we have one file (11 Million) line that is being matched with (10 Billion) line.
the proof of concept we are trying , is to join them on Unix :
All files are delimited and they have composite keys..
could unix be faster than Oracle in This regards..
Please advice (1 Reply)
Hi all
I need your help to separate colomns based on "-" delimiter for a very big file 30 millions rows
I have a colmun looking like this :
clomun 1
1-100000989-A_ATC
1-10000179-AAAAA
1-100002154-TGTTA
1-100002155-GTTAG
1-100002443
1-100002490
1-100002619
I need to separte in three... (5 Replies)
Discussion started by: biopsy
5 Replies
LEARN ABOUT PLAN9
namespace
NAMESPACE(6) Games Manual NAMESPACE(6)NAME
namespace - name space description file
DESCRIPTION
Namespace files describe how to construct a name space from scratch, an operation normally performed by the newns subroutine (see auth(2))
which is typically called by init(8). Each line specifies one name space operation. Spaces and tabs separate arguments to operations; no
quotes or escapes are recognized. Blank lines and lines with # as the first non-space character are ignored. Environment variables of the
form $name are expanded within arguments, where name is a UTF string terminated by white space, a /, or a $.
The known operations and their arguments are:
mount [-abc] servename old [spec]
Mount servename on old.
bind [-abc] new old
Bind new on old.
import [-abc] host "[remotepath]mountpoint
Import remotepath from machine server and attach it to mountpoint.
cd dir Change the working directory to dir.
The options for bind, mount, and import are interpreted as in bind(1) and import(4).
SEE ALSO bind(1), namespace(4), init(8)NAMESPACE(6)