Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: SIMMS7400
6,553
Posted By SIMMS7400
HI Rudi - I've escaped the single quote as...
HI Rudi -

I've escaped the single quote as well as placed double quotes around it. However, if I'm being completely honest, I'm having trouble understanding how this parameter expansion works. ...
6,553
Posted By SIMMS7400
Hi Rucdi - what are you looking for? I've...
Hi Rucdi - what are you looking for?

I've tried your suggestions as well as many other tries but no success. It doesn't seem to like the variable expansion.

Let me know what else you require -...
6,553
Posted By SIMMS7400
Hi Rudi - any ideas? Thank you so much!
Hi Rudi - any ideas?

Thank you so much!
6,553
Posted By SIMMS7400
Hi Rudi - I've tried your suggestions above...
Hi Rudi -

I've tried your suggestions above and no luck. It seems as though my shell doesn't like the special parameter expansion at all.
6,553
Posted By SIMMS7400
Thanks, Rudi! Been playing around with this...
Thanks, Rudi!

Been playing around with this but unfortunately unable to get it to work.

I'll keep plugging away.
6,553
Posted By SIMMS7400
HI Rudi - Sorry for the bother - I can't...
HI Rudi -

Sorry for the bother - I can't seem to figure out the above error. Do you have any idea?

AIX / kornshell
6,553
Posted By SIMMS7400
Hi Rudi - I'm getting the following error...
Hi Rudi -

I'm getting the following error with your code (particularly your 3rd example - which is the correct one for the fiscal year increment going from 53 to 1:

Once I can correct that, I...
6,553
Posted By SIMMS7400
Hi Don - Thank you for taking the time to go...
Hi Don -

Thank you for taking the time to go over this with me.

I will try this out and get back to you.

---------- Post updated at 06:33 PM ---------- Previous update was at 06:29 PM...
6,553
Posted By SIMMS7400
HI Don - The version is as follows: ...
HI Don -

The version is as follows:


version sh (AT&T Research) 93t+ 2009-05-01


Thank you!
6,553
Posted By SIMMS7400
Hi Don - Ah yes - I see that. I meant to...
Hi Don -

Ah yes - I see that. I meant to say, this environment doesn't have GNU date installed, therefore the -d switch is not accepted.
6,553
Posted By SIMMS7400
Hi Don - Yes you're right. I will try on my...
Hi Don -

Yes you're right. I will try on my own.

However, for this purpose, for some reason that function isn't returning anything.

When I pass

findSaturdayOnOrBefore "10/07/2018"
...
6,553
Posted By SIMMS7400
Hi Don - Thanks for the follow up. So, I...
Hi Don -

Thanks for the follow up. So, I have some information.

The 1st fiscal day of my client's year is the first Saturday in October, every year.

Also, thhey operate on a 53 week year...
6,553
Posted By SIMMS7400
Hi Rudy - You want to switch "curwk_d" from...
Hi Rudy -

You want to switch "curwk_d" from "wk04 fy18" to "wk05 fy18", "pw1_d" to "wk04 fy18", and so forth?

Yes

What if a week 53 doesn't exist?

This will never be the case, there will...
6,553
Posted By SIMMS7400
Best way to increment weeks based on fiscal start year
Hi Folks -

I'm looking for the best way to to increment fiscal weeks - allow me to explain.

At my one client, 10/01/17 was the beginning if year fiscal year 2018.
Each week, I need to manage a...
Showing results 1 to 14 of 14

 

Featured Tech Videos

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