Sponsored Content
Full Discussion: Unix shell scripting
Top Forums UNIX for Dummies Questions & Answers Unix shell scripting Post 57226 by la_burton on Thursday 21st of October 2004 08:02:07 AM
Old 10-21-2004
Data Unix shell scripting

I need to write a script which analyses an invoice file, counting the amount of pages in the file to be printed per account number and per invoice. The account numbers are stored in another file which has instructions on what do with ach customers invoice as per their account number.

please hlp...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

2. Shell Programming and Scripting

Unix shell scripting

Hi, we are writing this fields dynamically retrieved from database and writing into the file. $bmpRec = $bmpRec.'|'.$cust_id; # sp4 $bmpRec = $bmpRec.'|'.$serv_id; # sp5 $bmpRec = $bmpRec.'|'.$site_id; # sp6 $bmpRec = $bmpRec.'|'.$loc_id; # sp7 ... (4 Replies)
Discussion started by: Maruthi Kunnuru
4 Replies

3. Shell Programming and Scripting

Unix Shell Scripting

Hi All, Greetings!! I am trying to write a script that will get me the syslog.log file output of last week... That is ...my cron will run on Monday and will get me the syslog output of previous week , last monday-last sunday. I tried using date formatting and tail..but did not succeed.... (4 Replies)
Discussion started by: premamadhuri
4 Replies

4. UNIX for Advanced & Expert Users

Need your Help on Unix Shell Scripting.........

Hi Friends, 1. Bash Shell Scrpt to take backup at evening 2. I need a bash shell script for killing all processes. (5 Replies)
Discussion started by: vinayraj
5 Replies

5. Shell Programming and Scripting

Unix Shell Scripting

I 'm new to unix shell scripting can some one guide me to any e-book or link from where i can learn unix shell scripting .. i want to learn create interactive scripts for my day to day solaris work. Any help would be appreciated (1 Reply)
Discussion started by: fugitive
1 Replies

6. UNIX for Dummies Questions & Answers

Unix Shell Scripting( Calling from Unix to PLSQL)

Hello Experts, I have the following questions to be discussed here at this esteemed discussion forum. I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies

7. UNIX for Dummies Questions & Answers

Unix Shell Scripting

I'm sorry if this doesn't go here, but I'm in depserate need of help with my last unix homework. Anyways, I'm taking summer classes, and one of them is UNIX. I've understood everything thus far, but I'm having a killer time with how my instructor has worded the problems for shell scripting. I... (3 Replies)
Discussion started by: dw15
3 Replies

8. Shell Programming and Scripting

UNIX shell scripting

I am new to Unix.. Can someone please help me to understand the concept of Login shell and non login shell ? what exactly the difference between them :confused: (1 Reply)
Discussion started by: lokita jain
1 Replies

9. Programming

unix Shell scripting

Hi All, need help to complete the automation but stuck at a perticular situation below is the code <code> fixed_function_name { code.... code.... variable_map= { a="/a" b="/b" c="/c" so on... } (7 Replies)
Discussion started by: yadavricky
7 Replies

10. UNIX for Beginners Questions & Answers

UNIX Shell Scripting

Describe in short the word completion feature of the tcsh Completion works anywhere in the command line, not at just the end, for both commands and filenames. Type part of a word and hit the Tab key, and the shell replaces the incomplete word with the complete one in the input buffer. The... (1 Reply)
Discussion started by: Elena Lauren
1 Replies
LedgerSMB::DBObject::Asset(3pm) 			User Contributed Perl Documentation			   LedgerSMB::DBObject::Asset(3pm)

NAME
LedgerSMB::DBObject::Asset - LedgerSMB Base Class for Fixed Assets SYNOPSIS
This library contains the base utility functions for creating, saving, and retrieving fixed assets for depreciation STANDARD PROPERTIES
id (integer) Unique id number of asset. description (text) Text description of asset. tag (text) Arbitrary tag identifier, unique for current, non-disposed assets. purchase_value (numeric) Numeric representation of purchase value. salvage_value (numeric) Numeric representation of estimated salvage value. usable_life (numeric) Numeric representation of estimated usable life. purchase_date (date) Date item was purchase start_depreciation (date) Date item is put into service, when depreciation should start. If unknown we use the purchase_date instead. location_id (int) ID of business location where asset is stored. department_id (int) ID of department where asset is stored invoice_id (int) ID of purchasing invoice asset_account_id (int) ID of account to store asset value dep_account_id (int) ID of account to store cumulative depreciation exp_account_id (int) ID of account to store expense when disposed of. obsolete_by (int) Obsolete by other asset id. Undef if active, otherwise the id of the active asset that replaces this. Used for partial depreciation. asset_class_id (int) ID of asset class. METHODS
save Uses standard properties Saves the asset item to the database Sets any properties set by the database that were not in the original object, usually ID (if no match to current ID or if ID was undef). import_file Parses a csv file. Sets $self->{import_entries} to an arrayref where each member is an arrayref of fields. It is up to the workflow script to handle these entries. Header information is set to $self->{import_header}. get Gets a fixed asset, sets all standard properties. The id property must be set. search Searches for asset_items matching criteria. Sets $self->{search_results} to the result. Search criteria set by the following properties: * id * asset_class * description * tag * purchase_date * purchase_value * usable_life * salvage_value * start_depreciation * warehouse_id * department_id * invoice_id * asset_account_id * dep_account_id Tag and description are partial matches. All other matches are exact. Undef matches all values. save_note Saves a note. Uses the following properties: * id * subject * note get_metadata Sets the following: * asset_classes: List of all asset classes * locations: List of all warehouses/locations * deprtments: List of all departments * asset_accounts: List of all asset accounts * dep_accounts: List of all depreciation accounts * exp_accounts: List of all expense accounts get_next_tag Returns next tag number Sets $self->{tag} to that value. import_asset Uses standard properties. Saves record in import report for batch review and creation. Copyright (C) 2010, The LedgerSMB core team. This file is licensed under the Gnu General Public License version 2, or at your option any later version. A copy of the license should have been included with your software. perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Asset(3pm)
All times are GMT -4. The time now is 09:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy