Hello all,
I need to create a variable that contains a path to a program. I'd like to reference that variable later in the script to execute the program. Does anyone have any ideas how I can accomplish this?
Thanks,
Mark :) (2 Replies)
Hi,
Iam new to UNIX...My requirement is to create 3 dir as an hierarchy under /var/opt/temip.The output should be /var/opt/temip/GP_Int/GPTTS/AUTO.
I have tried the following script...But only GP_int folder is getting created and not other folders...Can someone help???
#!/usr/bin/ksh
#script... (1 Reply)
Hi,
I've created a simple application that is supposed to fill up a file with messages up
to the size I pass as parameter.
The problem is that once the file reaches the 2GB size, it stops growing.
The flow of the application, for what is worth, is as follows:
while ( bytes written <... (7 Replies)
Hi All,
I got this problem with my var logs, it got failed login as admin because it doesn't exist every 15 minutes and everyday.
Do you know some applications that try to create an application id as "admin"?
The problem is that this is a test server, so lots of applications installed and... (2 Replies)
I am submitting a concurrent program (of HOST tyme) from Oracle apps screen,
The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Hi I am new to QT.I am running Qt 4.7 on Fedora 9.My Application crashes with the the following statements. on execution of
return app.exec();
The inferior stopped because it received a signal from the Operating System.
Signal name : SIGSEGV
Signal meaning :Segmentation fault:wall:
... (2 Replies)
Just a little backgroud, I have a library of mp3 files in the following structure: /mp3/artist/album/track.mp3
Also contained in each album directory is a cover.jpg which contains the cover art file for that particular album.
I want to add the cover.jpg to the mp3 tag and have been using... (8 Replies)
Hi Experts....
I am using Ubuntu 12.04 LTS 32-Bit edition on my laptop
I just reinstalled OS for some reason and installed many application packages using sudo as well as by downloading, now I would like to create recovery disk so that if I reinstall OS once again, I should be able to install... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies
LEARN ABOUT DEBIAN
jifty::util
Jifty::Util(3pm) User Contributed Perl Documentation Jifty::Util(3pm)NAME
Jifty::Util - Things that don't fit anywhere else
DESCRIPTION
absolute_path PATH
"absolute_path" converts PATH into an absolute path, relative to the application's root (as determined by "app_root") This can be called
as an object or class method.
canonicalize_path PATH
Takes a "path" style /foo/bar/baz and returns a canonicalized (but not necessarily absolute) version of the path. Always use "/" as the
separator, even on platforms which recognizes both "/" and "" as valid separators in PATH.
jifty_root
Returns the root directory that Jifty has been installed into. Uses %INC to figure out where Jifty.pm is.
share_root
Returns the 'share' directory of the installed Jifty module. This is currently only used to store the common Mason components, CSS, and JS
of Jifty and it's plugins.
app_root
Returns the application's root path. This is done by returning $ENV{'JIFTY_APP_ROOT'} if it exists. If not, Jifty tries searching upward
from the current directory, looking for a directory which contains a "bin/jifty". Failing that, it searches upward from wherever the
executable was found.
It "die"s if it can only find "/usr" or "/usr/local" which fit these criteria.
is_app_root PATH
Returns a boolean indicating whether the path passed in is the same path as the app root. Useful if you're recursing up a directory tree
and want to stop when you've hit the root. It does not attempt to handle symbolic links.
default_app_name
Returns the default name of the application. This is the name of the application's root directory, as defined by "app_root".
make_path PATH
When handed a directory, creates that directory, starting as far up the chain as necessary. (This is what 'mkdir -p' does in your shell).
require PATH
Uses UNIVERSAL::require to require the provided "PATH". Additionally, logs any failures at the "error" log level.
try_to_require Module
This method works just like "require", except that it suppresses the error message in cases where the module isn't found.
already_required class
Helper function to test whether a given class has already been loaded.
generate_uuid
Generate a new UUID using Data::UUID.
reference_to_data Object
Provides a saner output format for models than "MyApp::Model::Foo=HASH(0x1800568)".
stringify LIST
Takes a list of values and forces them into strings. Right now all it does is concatenate them to an empty string, but future versions
might be more magical.
AUTHOR
Various folks at Best Practical Solutions, LLC.
perl v5.14.2 2010-12-08 Jifty::Util(3pm)