Search Results

Search: Posts Made By: divzz
1,731
Posted By divzz
Hi you can place the two arrays in two...
Hi

you can place the two arrays in two files- file1 and file2.
cat file2 >> file1
sort -nu file1
5,431
Posted By divzz
I m sorry didnt read the question properly n...
I m sorry didnt read the question properly n jumped to reply..
5,431
Posted By divzz
try putting your filename within quotes.. like...
try putting your filename within quotes.. like "my file".
4,848
Posted By divzz
Display the day of the given date-ksh
Hi friends,
I need some urgent help on Dates in unix.
I have a date say - "20080706", i need some command to display the day, here its sunday(06). Please help me out.
FYI: I use Ksh.

I/P -...
62,451
Posted By divzz
awk 'BEGIN { FS=","; OFS=" " } {print...
awk 'BEGIN { FS=","; OFS=" " }
{print $0}' input
201,876
Posted By divzz
Thanks a lot buddy, this command helped me. :)...
Thanks a lot buddy, this command helped me. :) Keep up ur knowledge sharing :b:
5,500
Posted By divzz
Hey Yogesh, I know to write HTML buddy, but I...
Hey Yogesh, I know to write HTML buddy, but I wanted something like how can I generate the same in PuTTY SSH client. Say When I run a shell script like sample.sh, It should generate a HTML file, the...
2,467
Posted By divzz
Thanks Penchal. :) :)
Thanks Penchal. :) :)
2,467
Posted By divzz
Thanku very much, you are helpful :)
Thanku very much, you are helpful :)
2,467
Posted By divzz
Awking!! Printing decimal output is struck
Hi friends,

I have a small problem with AWK. I am not able to print decimal values! :confused: below is my code:

#! /bin/awk -f
awk BEGIN{printf("%d",123)}; -> This prints the integer...
5,500
Posted By divzz
To be more precise I am using PuTTY SSH session.
To be more precise I am using PuTTY SSH session.
5,500
Posted By divzz
Hey Yogesh I am waiting for your template buddy....
Hey Yogesh I am waiting for your template buddy. Please send me a sample template.

Thanks,
Divya.
5,500
Posted By divzz
Thanks for ur reply. Yes, I want to create HTML...
Thanks for ur reply. Yes, I want to create HTML files from shell script. yes a template would be of great help. :)
5,500
Posted By divzz
html withing shell scripts,how??
Hi can anybody guide me to write html programs using shell script.
FYI: I use ksh.

Thanks in advance,
Divya
8,403
Posted By divzz
Thanks a lot buddy, it works :) :) :)
Thanks a lot buddy, it works :) :) :)
8,403
Posted By divzz
command line arg issue with awk
Hi friends,

I am trying to pass input from command line and trying to print that column values. (FYI: I am using ksh) My code goes like this...

#!/bin/sh
column=$1
awk '{print $'$column'}'...
1,515
Posted By divzz
Appreciate your quick response. I got to know my...
Appreciate your quick response. I got to know my silly mistake. Thank you.
1,515
Posted By divzz
I m sorry guys.. got to know my mistake :eek:
I m sorry guys.. got to know my mistake :eek:
1,515
Posted By divzz
help abt cut command
Hi friends,
I have a small doubt about cut command.

cut -f2 -d_

Can anybody tel me what does the underscore after 'd' stand for? Is it some kind of comment, coz I am not able to make out any...
4,411
Posted By divzz
Hi, Hoping that only fourth line has to be...
Hi,
Hoping that only fourth line has to be removed, try out the given code below.

sed -e '4s/B1//g' myfile |grep "B1"

Hope this solves your problem. :)
14,363
Posted By divzz
Hi, Try out the code given below, I use ksh and...
Hi,
Try out the code given below, I use ksh and It works in that.

#! /bin/sh
if [[ ($# -eq 0) || ($# > 3) ]]
then
echo "blah bla bla"
else
exit
fi

Hope this works for you. :cool:
Showing results 1 to 21 of 21

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