Search Results

Search: Posts Made By: cns1710
34,042
Posted By cns1710
Thanks for ur reply Pamu. But I'm using...
Thanks for ur reply Pamu.

But I'm using SunOS and there is no -d option in my OS version. Is there any other way to do this??
34,042
Posted By cns1710
Convert string to date and add 1
Hi All,

I want to convert string in format YYYYMMDD(20120607) to date in unix and add 1 day to it and convert back to string in format YYYYMMDD. Please help.
16,135
Posted By cns1710
Hi drl. Sorry for the late reply. I m using K...
Hi drl. Sorry for the late reply. I m using K shell and I'm not sure about the commands you have used.

Is it possible to embed this code in the middle of my script which generates the data...
2,839
Posted By cns1710
Thanks all!
Thanks all!
2,839
Posted By cns1710
Hi Thanks for you reply. How can I store the...
Hi Thanks for you reply. How can I store the return code of cmd 1,2& 3 before the start of cmd 4? Please help!!
2,839
Posted By cns1710
Run multiple commands
Hi All,

Is it possible to run second/multiple commands at a time in script before the completion/return of first command?

Pls reply.
2,752
Posted By cns1710
Thanks Kamaraj:)
Thanks Kamaraj:)
1,427
Posted By cns1710
Hi bartus11...
Hi bartus11 (https://www.unix.com/members/302059620.html)

Thans a lot:)
1,427
Posted By cns1710
Keep 3 values in each row
Hi,

I have n number of values like

1
2
3
4
I want the output like

1 2 3
4 5 6
- - -
- - -


Please help me on this:wall:
2,752
Posted By cns1710
Hi Frank, Thanks for your reply. The...
Hi Frank,

Thanks for your reply.
The syntax is
for var in list
But I just had a try to get multiple values at a time
If you know pls reply. Thanks:)
2,752
Posted By cns1710
Retrieve multiple values for each iteration
Hi All,

I tried to retrieve multiple values using for/foreach loop in each iteration. But couldn't get it. Please help me.
Below are my try outs:
#!/bin/ksh
foreach {i,j,k} {5150 5540 5149 5640...
1,534
Posted By cns1710
on top of elixir newname=`echo $oldname|awk...
on top of elixir
newname=`echo $oldname|awk -F'_[0-9]' '{print $1}'`.`echo $oldname|cut -f2 -d '.'`

How to use code tags...
16,135
Posted By cns1710
Create table using tbl command
Hi,

I required the output like attached:




I tried using the below command and i'm getting error:

file with data:
.TS
box;
cB s s
c|c|c
PO Download statistics - Host to SOM...
Showing results 1 to 13 of 13

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