02-02-2009
Thank you kindly Zazzon and Quirk!
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
OK... I'm fairly new to unix having the admin handed to me on a platter w/almost no training.
However, being a programmer, I do pick up things fairly easily, but this one is getting the best of me.
I have a unix server that runs multiple versions of the same ERP system, hand crafted for our... (1 Reply)
Discussion started by: chimodel
1 Replies
2. Shell Programming and Scripting
Hi all
I have a little brainscratcher here.
I want to draw a pie chart from data in a text file.
The drawing of the graph works fine, if I insert the data manually into a 2d array.
Now I want to pull the data from a text file (which was created using a uniq -c command) see sample below.... (2 Replies)
Discussion started by: pietie
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all:
I have a following textfile data with name inst1.txt
HDR|ABCD|10-13-2008 to 10-19-2008.txt|10-19-2008|XYZ
DTL|H|5464-1|0|02-02-2008|02-03-2008||||F|||||||||
DTL|D|5464-1|1|02-02-2008|02-03-2008|1||JJJ
DTL|D|5464-1|2|02-02-2008|02-03-2008|1||JJJ... (9 Replies)
Discussion started by: ravi0435
9 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to replace a field in a text delimited file with the actual number of records in the same file.
HDR|ABCD|10-13-2008 to 10-19-2008.txt|10-19-2008|XYZ
DTL|0|5464-1|0|02-02-2008|02-03-2008||||F|||||||||
DTL|1|5464-1|1|02-02-2008|02-03-2008|1||JJJ... (3 Replies)
Discussion started by: ravi0435
3 Replies
5. Shell Programming and Scripting
Hi Folks,
very basic question, how to do command piping for an array?
suppose i have names as an array, when I write this script:
#!/usr/bin/sh
date=`date +%y%m%d`;
names="a b"
for name in ${names}
do extract -tz +8 person 'income$|expense$' /home/ricki/$name/$date*.xml | tab -d -cols... (1 Reply)
Discussion started by: rickirick
1 Replies
6. Shell Programming and Scripting
Hello,
I am trying to make a bash script that can pull data from a file and then change one part of said data.
I want to search by username and pull the full line. That way there is a way to replace just one part of that line then return it back to the file.
My Data is stored like:
... (1 Reply)
Discussion started by: serverfull
1 Replies
7. Shell Programming and Scripting
this is Korn shell unix.
The scenario is I have a pipe delimited text file which needs to be customized. say for example,I have a pipe delimited text file with 15 columns(| delimited) and 200 rows. currently the 11th and 12th column has null values for all the records(there are other null columns... (4 Replies)
Discussion started by: vasan2815
4 Replies
8. Shell Programming and Scripting
Hello all, I have two files which are cmd and disk.
`$cat cmd
lsdev | grep -iw`
`$cat disk
hdisk2`
Now I want to use the contents of both the files in a way such that `lsdev | grep -iw` command works for hdisk2 when I write the following script:
`!#/bin/sh
cmd1="$( sed -n... (4 Replies)
Discussion started by: ravi.trivedi
4 Replies
9. Shell Programming and Scripting
Hi all,
i have a text file such as:
10 17:54:47,213
10 17:54:47,214
10 17:54:49,338
10 17:54:49,399
10 17:54:50,402
10 17:54:50,403
11 17:54:47,213
11 17:54:47,213
11 17:54:49,362
11 17:54:49,422
11 17:54:50,429
11 17:54:50,429
11 17:54:50,429
11 17:54:50,429
11 17:54:51,510
12... (10 Replies)
Discussion started by: sbamap
10 Replies
10. Linux
Hello,
I have standard loop
while read -r info; do
command $info
done < info
in info text file I have multiple commands each on line that I want to execute. When I used them in console they worked, but not with this loop.
This is one of the commands in info file:
grep... (4 Replies)
Discussion started by: adamlevine
4 Replies
LEARN ABOUT MOJAVE
inline::wrapper::module5.18
Inline::Wrapper::Module(3) User Contributed Perl Documentation Inline::Wrapper::Module(3)
NAME
Inline::Wrapper::Module - Internal object wrapper for individual Inline modules.
SYNOPSIS
use Inline::Wrapper::Module;
DESCRIPTION
Inline::Wrapper::Module is used internally by Inline::Wrapper, and should not be used directly. It will croak if you attempt to do so.
It is a descendent class of Inline::Wrapper.
METHODS
new()
Takes the same arguments as "new()" in Inline::Wrapper, but also requires a module_name and lang_ext argument.
Don't use this. It will croak if you try to use it directly.
initialize()
Initialize the object instance.
DESTROY()
Destructor to clean up the object instance, and wipe the private code module namespace created when binding the symbol list.
INHERITANCE
As Inline::Wrapper::Module is an inherited class from Inline::Wrapper, all methods that apply to the base class also apply to objects of
this class.
However, note that this has the following effects, due to the semantics of the load()/run() steps:
auto_reload settings vs. when method effects take place:
auto_reload value: | FALSE TRUE
--------------------+------------------------------------------
set_base_dir() | no effect after next reload / run()
set_language() | no effect after next reload / run()
add_language() | no effect after next reload / run()
Please read through "load()" in Inline::Wrapper and "run()" in Inline::Wrapper for insight into why the implementation works like this.
SEE ALSO
Inline::Wrapper
The Inline documentation.
The Inline-FAQ list.
The examples/ directory of this module's distribution.
AUTHOR
Please kindly read through this documentation and the examples/ thoroughly, before emailing me with questions. Your answer is likely in
here.
Also make sure that your issue is actually with the Inline::Wrapper modules, and not with Inline itself.
Jason McManus (INFIDEL) -- "infidel AT cpan.org"
LICENSE
Copyright (c) Jason McManus
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl
distribution for details.
perl v5.18.2 2010-03-10 Inline::Wrapper::Module(3)