02-21-2013
For that you would have to be more explicit:
The easiest being by showing us the 2 command you used, and say you the same result in one command line...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command (6 Replies)
Discussion started by: amirthraj_12
6 Replies
2. Shell Programming and Scripting
Hi all,
I have a question on how to search for a pattern in a file and return a value if it is present at that particular location.
How to read each line and each character for the pattern in the file of any format.
Eg for the file format:
attached the file (1 Reply)
Discussion started by: sparks
1 Replies
3. Shell Programming and Scripting
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
I want know "How to find a file if we dont know exact location of file ?"
Thanks,
Tushar Joshi:) (9 Replies)
Discussion started by: tusharjoshi
9 Replies
5. Shell Programming and Scripting
is there any other useful command to go into a specific directory and not go into its subdirectories that operates similar to find.? (it will return the full pathname?) or is there any way to make find not go into the subdirectories of the specified directory? This is on ksh as well. (3 Replies)
Discussion started by: bjhum33
3 Replies
6. Shell Programming and Scripting
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
7. Shell Programming and Scripting
Hi friends,
I have one XML file having below structure :-
INput XML file :-
<?xml version="1.0" encoding="UTF-8"?>
<START>
<A=value1>
<attr name1="a1">
</A>
<B=value2>
<attr name2="b1">
<attr name3="c1">
</B>
</START>
output xml file should be
=== (3 Replies)
Discussion started by: harpal singh
3 Replies
8. Shell Programming and Scripting
Dear All,
I need to transfer all files present in one location to another but those files should be of specific extension like.
Find and copy all files of extension .xls, .pdf, .txt from location usr/tmp to location /per/Treat (6 Replies)
Discussion started by: yadavricky
6 Replies
9. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
LEARN ABOUT CENTOS
module::install::external
Module::Install::External(3) User Contributed Perl Documentation Module::Install::External(3)
NAME
Module::Install::External - Specify dependencies on external non-Perl things
DESCRIPTION
"Module::Install::External" provides command that allow you to declaratively specify a dependency on a program or system that is not Perl.
The commands it provides are similar to those in Module::Install::Can, except that they implement an explicit dependency, in addition to
just working out if the particular thing is available.
COMMANDS
requires_xs
requires_xs;
The "requires_xs" command explicitly specifies that a C compiler and the perl header files are required in order to build (at make-time)
the distribution (specifically XS files).
It does not take any params, and aborts the Makefile.PL execution in a way that an automated installation or testing system will interpret
as a "NA" ("not applicable to this platform") result.
This may be changed to an alternative abort result at a later time.
Returns true as a convenience.
requires_external_cc
requires_external_cc;
The "requires_external_cc" command explicitly specifies that a C compiler is required in order to build (at make-time) the distribution.
It does not take any params, and aborts the Makefile.PL execution in a way that an automated installation or testing system will interpret
as a "NA" ("not applicable to this platform") result.
This may be be changed to an alternative abort result at a later time.
Returns true as a convenience.
requires_external_bin
requires_external_bin 'cvs';
The "requires_external_bin" command takes the name of a system command or program, similar to the "can_run" command, except that
"requires_external_bin" checks in a way that is a declarative explicit dependency.
The takes a single param of the command/program name, and aborts the "Makefile.PL" execution in a way that an automated installation or
testing system will interpret as a "NA" ("not applicable to this platform") result.
Returns true as a convenience.
TO DO
Work out how to save the external dependency metadata, in agreement with the larger Perl community.
Implement the agreed external dependency metadata solution.
AUTHORS
Adam Kennedy <adamk@cpan.org>
SEE ALSO
Module::Install
COPYRIGHT
Copyright 2006 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.16.3 2012-03-01 Module::Install::External(3)