Search Results

Search: Posts Made By: HIMANI
1,622
Posted By HIMANI
works great!! thanks :)
works great!!


thanks :)
1,622
Posted By HIMANI
deleting a line from output
Hi ,
I have a script taht returns result in teh following format :


[+] End of input file.
a,b,c
3,4,5
s,d,f,
[+] End of input file.
d,t,h
r,t,y,
4,6,9
a,4,f
e,6,7
[+] End of input...
14,655
Posted By HIMANI
works great !! thanks :)
works great !!
thanks :)
14,655
Posted By HIMANI
copy lines from opne file to another
Hi all,

I'm new to shell scripting.
I want to copy the first N lines from a file to another file.
Can someone please tell me how this can be done.

Thanks
Himi
5,110
Posted By HIMANI
Its working great.. thanks!!!! :)
Its working great.. thanks!!!! :)
5,110
Posted By HIMANI
so i need to store the output of grep in a file...
so i need to store the output of grep in a file called file1?
5,110
Posted By HIMANI
Actualy the complete command is something like...
Actualy the complete command is something like this :

ls -a | grep delays

this produces the following output:


abc/xyz/delays/A1toB1_000000
pqr/trf/delays/AtoB_45678567
etc


I want...
5,110
Posted By HIMANI
yes , the positions are constant
yes , the positions are constant
5,110
Posted By HIMANI
help need for pattern matching
Hi,
I have a shell script that gives output in the form :

abc/xyz/delays/A1toB1_000000
pqr/trf/delays/AtoB_45678567
etc

I need tget the pattern A1toB1 , AtoB etc from this output.
Can some...
12,068
Posted By HIMANI
hi, its uname -m thats gives the hardware...
hi,
its uname -m thats gives the hardware information.
thanks !! :p
12,068
Posted By HIMANI
Hi, i tried 'uname -i' but i get an error...
Hi,
i tried 'uname -i' but i get an error saying that its an illegal option ..
12,068
Posted By HIMANI
executing uname through shell script
Hi,
I need to write a shell script that executes the command
uname -a

the output i get is of the format :
FreeBSD test.trial.machine.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56...
1,613
Posted By HIMANI
Try this : cp $2 $2_temp awk -v val1=${1}...
Try this :

cp $2 $2_temp
awk -v val1=${1} -F , 'BEGIN {
print val1
}' > temp

cat temp $2_temp > $2
rm temp $2_temp
2,836
Posted By HIMANI
pkg_add fails
Hi,
I have created a package on a 64 bit FreeBSD machine.
when i install this (on another 64 bit FreeBSD machine )i get the following error :

tar: Skipping pathname containing ..
pkg_add: tar...
6,017
Posted By HIMANI
Thanks for ur help :)
Thanks for ur help :)
6,017
Posted By HIMANI
Hi, Its working !!! thanks. But i have a...
Hi,
Its working !!! thanks.
But i have a doubt .. i was naming the files with the pid so
that if different users login then the files for them would be seperate and not interfere with each other....
6,017
Posted By HIMANI
Hi, This is the script : temp=`echo $$` ...
Hi,
This is the script :

temp=`echo $$`
echo $temp

tempvar1=`some values here`
tempvar2=`somme other values here`

diff conndifffile1_$temp conndifffile2_$temp | egrep '^< |> ' | uniq -u...
6,017
Posted By HIMANI
accessing shell script variable in file
Hi,
I have a shell script in which there is a file
conn_$temp
where $temp has the pid of the shell script.

in this shell script i have an embedded awk script that must read the file

while...
51,460
Posted By HIMANI
It worked!!! thansk so much :)
It worked!!!
thansk so much :)
51,460
Posted By HIMANI
How to pass Shell script variable to awk
Hi,
I have a shell script with an ambedded awk script.
i need to pass a script variable to the awk script.
Please help.

Thanks in advance
Himani
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 06:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy