To PHV neither of those work.
TO P5WIZARD the first should work.
the second is fine but the decimal is wrong(888.96)
#BEGIN {printf ("%4.3f\n",(pv * rte)^yrs)} #this works passing variables pv(887.10),rte,yrs. gives fv.
BEGIN {printf ("%4.3\nf",(pv / rte)^yrs)} #this does NOT work using pv...
i am passing variables pv,rte,yrs to pgm.
BEGIN {printf ("%4.3f",(pv * rte)^yrs)} #this works passing
pv = 887.10,rte=1.04,yrs=3.
aNS = 1000.this gives future value.
this does not; BEGIN {printf ("%4.3f",(pv / rte)^yrs)}
this should give the original pv(887.10)
using pv = 1000,rte=1.04,yrs=3...
Hi: i currently have awk on my pc but it is giving me trouble. how do i get a current version of awk or gawk or nawk?also how do i install it? i am getting senile and forget what the hell i do sometimes.please be explicit.
thank you.
thanx for the input but that does not seem to work.in win98se i used the up arrow(hex AE(?)) and it worked fine.
with winxp you get "^[[C" for the right arrow and "^[[A"
for the up arrow. perhaps some parameter or needs to be set.?
Hi: finally got awk to work with xp machine.minor glitches
but workable. biggest pain is not being able to retrieve prior command(s).
with win98se i could use the up/down arrows
and get the prior commands.
with xp i can not do this.tried combinations
but to avail...
hi: i managed to get awk95 from at&t working on xp with 2 exceptions:when my window opens i get this message:
(date and time) 9e8=81152:regopen failed.
however i can use awk.
the second is that with win98se i could resize
my window.with xp using a shortcut to...
Hi: i have used awk with win98se. i have a winxp machine and wish to download awk which will work with xp. could someone please provide the site(link) for the download. please be as specific as possible. i wish to have the latest version of awk(gawk,nawk) and i can not remember
what site i got...
Hi; you are right i am in a windows98se os.but i have the ability to use awk and sed(ksh).i have used awk and sed many times.all i wish to do is access my c: drive and find all files with an .mp3 extension.it is easy to do if i go to the folder where i know where the mp3 files are.but if they...
Hi; i wish to find files on my hard drive(c:) that have an
extension of .MP3(.mp3).that includes directories and files.
i have tried some things but they do not work.i thought
FILENAME option with some info would get if for me but it does not.i do not want to use "find" in windows.thank you
vgersh99: the question is how to access the file on the command line?awk returns an error saying it cannot access the file?i have tried a number of permutations but to no avail.obviously my syntax is incorrect,but how? see original question: the first reference to c: will not work
including the...
Hi:I am using awk on my windows machine and it is great.i have a problem when trying to access files with long names:
i.e. c:/Program Files/Abcd/My Folder.the caps are correct and the spaces in the file names are correct.windows stores
the filename as:c\Progra~1\Abcd\Myshar~1 because of the 8...
PHV:cal --y is a program/function to print the current year in a calendar format.i believe about 30 years ago that existed in unix.i could be wrong.thanx
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.