I have a table to data which one of the columns include string of text
from within that, I am searching to include few lines but not others
for example I want to to include some combination of word address such as (address.| address? |the address | your address) but not (ip address | email address | address bar )
in include the things that i want, i have used
but now i have problems with things i dont want to include
i have used the
but i dont know how to combine it so it will delete the things that i dont want
so simple how to delete lines that do have x or y or z
I am not sure whether i have to used grep, sed or awk either
hi all,
i searched in unix.com and accquired the following commands for extracting specific lines from a file ..
sed -n '16482,16482p' in.sql > out.sql
awk 'NR>=10&&NR<=20' in.sql > out.sql....
these commands are working fine if i give the line numbers as such .. but if i pass a... (2 Replies)
Hello,
i've got this output text:
and i need it to look something like this:
which means that there won't be absolute path of each directory, just it's size and the last word after last '/' in each line, and i also don't need last line '1.7M /tmp'
Looks like there is a simple... (5 Replies)
Hi,
I have one file, say file 1, that has data like below where 19900107 is the date,
19900107 12 144 129 0.7380047
19900108 12 168 129 0.3149017
19900109 12 192 129 3.2766666E-02
... (3 Replies)
I have this input file:
and the desired output is as follows:
Desired Output
This is a sample taken from a huge file. Basically, the script should take the tag (TDK11..1>) add everything that has bukle=A until it sees the blank lines. Then takes the next tag (TDK2222>) adds everything that... (4 Replies)
I need help extracting specific lines in a text file. The file looks like this:
POSITION TOTAL-FORCE (eV/Angst)
-----------------------------------------------------------------------------------
1.86126 1.86973 1.86972 ... (14 Replies)
Hi All,
I am stuck in one step..
I have one file named file.txt having content:
And SGMT.perd_id = (SELECT cal.fiscal_perd_id FROM $ODS_TARGT.TIM_DT_CAL_D CAL
FROM $ODS_TARGT.GL_COA_SEGMNT_XREF_A SGMT
SGMT.COA_XREF_TYP_IDN In (SEL COA_XREF_TYP_IDN From... (4 Replies)
I have a series of csv files in the following format
eg file1
Experiment Name,XYZ_07/28/15,
Specimen Name,Specimen_001,
Tube Name, Control,
Record Date,7/28/2015 14:50,
$OP,XYZYZ,
GUID,abc,
Population,#Events,%Parent
All Events,10500,
P1,10071,95.9
Early Apoptosis,1113,11.1
Late... (6 Replies)
Discussion started by: pawannoel
6 Replies
LEARN ABOUT MINIX
hostaddr
HOSTADDR(1) General Commands Manual HOSTADDR(1)NAME
hostaddr - show ethernet address, IP address or hostname
SYNOPSIS
hostaddr [-eia] [-E eth-device] [-I ip-device]
DESCRIPTION
Without any of the -eia options, hostaddr shows the ethernet address, IP address and hostname of the local host on one line in the given
order. With options only the wanted fields are shown, still in the same order, not in option order.
OPTIONS -e Show the ethernet address.
-i Show the IP address. This will not work if no IP address has been found by RARP or by setting it with ifconfig(8).
-a Show the fully qualified hostname. The IP address is shown again if it can't be translated to a host name. (This usually indicates
that the DNS reverse address translation tables are incomplete.)
SEE ALSO ifconfig(8), rarpd(8), nonamed(8), set_net_default(8), boot(8).
DIAGNOSTICS
"Timeout"
Hostaddr timed out trying to get the IP address. This means that the network connection is out of order or that the setup of the machine
is bad.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
HOSTADDR(1)