Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: varsha
26,729
Posted By varsha
Hello frds!!!
Hi frds,

I dowloaded a file from net which ends with .bz2 extension den i unzipped the file using the command bunzip2 -d filename. Now i want to view the content of that file my OS is fedora7...
26,729
Posted By varsha
Thanks!!!!
Hello frd,

The code is working fine.:):)


Can you plz able to explain me the code:confused:


Thanks again:b::b:
26,729
Posted By varsha
Hello frds!!!
I again need your help


I have a file let us name x which contains as follows
1 3 4 5 7
6 2 1 6 0
2 4 9 7 1
0 4 5 7 0
6 0 7 0 0
...
26,729
Posted By varsha
Thanks
Heyyyyyyy it worked:D:D





Thanks a lot friend:b::b:
26,729
Posted By varsha
Reply Plzzzzzzzz
Till today there is no help foe me:(:(:(




Anyone help me plz:confused::confused::confused:



Thanks:b::b::b:
26,729
Posted By varsha
Help!!
hello everybody,


I have problem in my script , it is for finding avg in column wise it is working fine wen all the columns have equal no of rows but it is not working when there disordered no of...
26,729
Posted By varsha
Help!!
hello.....

In result the averages are not in order so instead of gawk i used /usr/xpg4/bin/awk but it throws me error showing No such file or directory



Help...
26,729
Posted By varsha
Help!!
Instead of giving output like this

enter file name
vfile
1 5 3 4 6 8
5 5 7 9 0 1
4 6 4 4 6 2
6 7 8 12 3 4
------------------
Avg 4 5.75 5.5 7.25 3.75 3.75


its giving some other...
26,729
Posted By varsha
Help!!
Hello all,

I have a script which calculate avg for columnwise I attaced the script below

script
echo "enter file name"
read file
cat $file
awk 'BEGIN {FS=OFS=" "} { for (i=1; i<=NF; i++)...
26,729
Posted By varsha
Hi ahmad.diab, I replaced gawk instead...
Hi ahmad.diab,

I replaced gawk instead nawk. Thanks , it works well. But can u plz explain me why nawk not worked , i need the whole script explanation.????



Tanx once again!!!
26,729
Posted By varsha
hi ahmad.diab, tanx for ur code but the...
hi ahmad.diab,

tanx for ur code but the code throws me error saying that


nawk: command not found


help me plzzzz

thanks again in advance!!!!
26,729
Posted By varsha
tanx!!! it worked but one thing i can have...
tanx!!! it worked

but one thing i can have either more than 6columns or less than that also same thing for no of rows also

for eg my output should be like this
enter file name
vfile
1 5 3 =...
26,729
Posted By varsha
hi everybody i have one shell scripting...
hi everybody

i have one shell scripting which calculate average value for columns
this is the script


#!/bin/bash


echo "enter file name"
read file

cat $file



awk 'BEGIN...
26,729
Posted By varsha
hi :o:o:o im very much new for shell...
hi :o:o:o

im very much new for shell scripting

plzzzzzzzz anyone help me:confused::confused::confused:

i have a file content
1 2 3 4 5 6
3 5 6
7 9 3 2 4 4 6 6
.......
.......
........
26,729
Posted By varsha
Help!!
hi

i have shell scripting for finding the maximum number
now i want to find both maximum and minimum number

i attach the program and output and also file content


myfile(contents)

260...
26,729
Posted By varsha
tanx
Thanx tanx a lot, the reason im keep on asking help is bcoz of im very much new for shell scripting



Tanx!!!!!!:):):)
26,729
Posted By varsha
Hi jp2542a ur code works perfectly,but...
Hi jp2542a


ur code works perfectly,but the thing it takes the count as from 0 but i want is it should take count as from 1

Enter file name
file3
Enter the number
4
count0
biggest no is 6...
26,729
Posted By varsha
help
Hi jp2542a


ur code works perfectly,but the thing it takes the count as from 0 but i want is it should take count as from 1

Enter file name
file3
Enter the number
4
count0
biggest no is 6...
26,729
Posted By varsha
tanx
HI jp2542a!!

it works perfectlyyyyy


tanks a lot!!!!


:):):):):):):)

---------- Post updated at 03:08 AM ---------- Previous update was at 03:05 AM ----------

HI pravin27!!


tanx...
26,729
Posted By varsha
tanx
Hi

Tanx , tanx a lot.....

it works!!!!!:):):):)

---------- Post updated at 02:13 AM ---------- Previous update was at 02:06 AM ----------

but still instead of displaying the output like...
26,729
Posted By varsha
help again
HI once again

Tanx for ur code


but still im unable to recover from my problem


c i have a file (name-myfile) it contains the data give below

6
3
0.33
6
5
100
2
12.3
6
12
26,729
Posted By varsha
asking help
Thanks for ur help


Will u b plzzzzzzzzz explain me the program how it works


give me in detail explanation bcoz im very much new for shell scripting:confused::(



Once again Tanx in...
26,729
Posted By varsha
asking help
#!/bin/bash
echo "Enter file name"
read file
cat $file
echo "Enter the number"
read n
head $n $file | sort -n -r >> file2
echo "biggest no is "
head -1 file2

my output is
Enter file...
26,729
Posted By varsha
How to read n number of lines from a file
Hiii

I am very new to shell scripting.This is my data file
a.txt:
56
45.78
1000
11.23
76.89
45
34.56
23
3400
100
..........
Now i am must use shell scripting to read n number of...
Showing results 1 to 24 of 24

 

Featured Tech Videos

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