Search Results

Search: Posts Made By: augustinep
3,720
Posted By augustinep
Output from awk command
I am pasting the output obtained by the awk command. I did not have nawk, so I ran it with awk:

$ awk -f aug.awk file1.vg file2.vg

Year: 2006 GL number: 1000 GL name: Interest Income
Opening...
3,720
Posted By augustinep
Output obtained - Thanks
Thanks Ajay and Vgersh! You guys are great!

I have obtained the output now.

$ more result1
Opening Balance :100.00
01/03/2006 USD 1000 36.65
01/14/2006 USD 1000 150.00
Total Balance :...
3,720
Posted By augustinep
Thank you. As I did not have nawk, I ran the...
Thank you. As I did not have nawk, I ran the following at the HP UNIX prompt with awk. file1 is GL and file2 is transactions. It gives only the output for GL 1005. The output for GL 1000 is missing....
3,720
Posted By augustinep
I am still getting the output in the following...
I am still getting the output in the following manner:

$ more result1
Opening Balance : 100.00
01/03/2006 USD 1000 36.65
01/14/2006 USD 1000 150.00
01/04/2006 USD 1000 2000.00 (should not be...
3,720
Posted By augustinep
formatting control break reports from 2 files
Aju,

Thank you very much. The output is attached based on your script. But I see just one problem. I require an output only when there is a matching GL number in the transactions file. If not...
3,720
Posted By augustinep
Formatting a report from 2 files
I have 2 files with sample data enclosed.

1. GL (already sorted in ascending order by Gl number)
Gl number*glname*Year*opening balance
1000*Interest Income*2006*100.00
1005*Rental...
5,000
Posted By augustinep
Thank you very much Perderabo. I was able to...
Thank you very much Perderabo. I was able to automate the report process.
5,000
Posted By augustinep
Thanks Perderabo. Just two clarifications. ...
Thanks Perderabo. Just two clarifications.


One:

Since we have given

grep "\*100.*\*-" < test > test2

the output file could also contain lines like these:

123*1000*ade*-15...
5,000
Posted By augustinep
Hi, I shall explain this problem a little...
Hi,

I shall explain this problem a little further. I want to search for one pattern (like "*100*" and if it is there check for "*-" on the same line; if both the conditions are satisfied, put that...
5,000
Posted By augustinep
How to parameterize multiple search patterns and generate a new file
I have one file:

123*100*abcd*10
123*101*abcd*-29*def
123*100*abcd*-10
123*102*abcd*-105*asd

I would like to parameterize the search patterns in the following way so that the user could...
10,280
Posted By augustinep
Ascii To Hex
How will I display on screen a UNIX ascii file with its HEX equivalent. I want to check whether 0D 0A is coming at the end of the file which I am generating from UNIX.
11,545
Posted By augustinep
Thank you very much. I was able to obtain the...
Thank you very much. I was able to obtain the processor speed and Memory.
1,763
Posted By augustinep
Will userids make a difference in performance?
I have nearly 10 users who login into the HP server (D series, HP UX 10.20) with the same UNIX user name, "liveuser", and they start the UNIX based transactions. If I create separate UNIX user-ids...
11,545
Posted By augustinep
Could you advise me which option under SAM, I can...
Could you advise me which option under SAM, I can get this, as I could not figure it out.
11,545
Posted By augustinep
To find processor speed & memory in HP Unix 10.2
I have a D series HP server with HP UNIX 10.20 as the OS. How will I obtain the processor speed and memory of the machine. I have 'root' privileges.
4,859
Posted By augustinep
model script
Where could I locate the "model" script?
7,068
Posted By augustinep
Automatic House keeping in UNIX
I have a directory called 'test' which contains many junk files. I want to automate the clean-up task by removing all files which are older than one month. What would be the best option?
4,859
Posted By augustinep
Skipping page by UNIX printer
I have HP UNIX 10.20 and whenever anything is printed on DFX 8000, it skips a page. How could I give an lp command so that

a) the printer does not skip a page
b) Even if it skips a page, the...
2,457
Posted By augustinep
Comparing two files and noting matches
I have two files. One contains names and another file (66 MB, ASCII format) contains details of persons. How do I compare the names in the first file with the second file and write the matches to a...
Showing results 1 to 19 of 19

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