10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi you all,
this is my first post in this forum. I'm italian (please forgive me) :-) so my english will fail to be correct...
Anyway, let's get straight to the point!
I have a text file like this:
,,,,
Disney: 00961-002,,,,
,Pippo: 00531-002,,,
,,Pluto: 00238-002,,
... (5 Replies)
Discussion started by: alcresio
5 Replies
2. UNIX for Beginners Questions & Answers
Hi All
Below is the output i have from my code
10.106.86.93 A1,A2,A2,A3,A3,A4,A5,A6,B1,B2,B3,B4,B5,B5,B6,B6,C1,C1,C2,C2,C3,C3,C4,C4,C5,C5,C6,D1,D2,D3,D4,D5,D6,D6 3
Need to create a html with header and for the last value (3) if it is 3 then it should print ok, if 4 then print NotOk
... (4 Replies)
Discussion started by: Snehasish
4 Replies
3. Shell Programming and Scripting
hi,
i have script which installs around 20 packages. during installation of each package script will be prompted for user input.
i need to run the script in non-interactive by using here document. is it possible to generate here document by running the script in interactive mode on Solaris?... (1 Reply)
Discussion started by: snreddy_gopu
1 Replies
4. Programming
Hi,
I have large xml data file.I need to extract node and some tags in the node and after I need to create word document. my XMl data is look like as below
-<student>
<number>24</number>
<education>bachelor</bachelor>
<specialization>computers</specialization>
... (3 Replies)
Discussion started by: veerubiji
3 Replies
5. Programming
hi,
i have large xml file which contains students information, i need to extract student number and some address tags and create a word document for the extracted data. my data looking llike this
<student>
<number>24</number>
<education>bachelors</education>
... (1 Reply)
Discussion started by: veerubiji
1 Replies
6. Shell Programming and Scripting
I am working on awk script to generate an HTML format output. With input file as below I am able to generate a HTML file however I want to saperate spare devices in a different table than rest of the devices and which has only Bunch ID, RAW Size and "Bunch Spare" status columns.
INPUT File :
... (2 Replies)
Discussion started by: dynamax
2 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
<HTML><HEAD><TITLE>Personal Web Page</TITLE></HEAD>
<BODY BGCOLOR="WHITE"><H3>
<CENTER>My Personal Page<HR>... (0 Replies)
Discussion started by: Larry_1
0 Replies
8. Shell Programming and Scripting
Hi guys as the title says i need a little help i have partisally written a bash script to create a table in html
so if i use ./test 3,3
i get the following output
for the third arguement in the script i wish to include content that will be replace the A characters in the... (2 Replies)
Discussion started by: dunryc
2 Replies
9. Programming
Hi All,
I am supposed to present the documentation for the PLSQL code (PACKAGES, PROCEDURE, FUNCTIONS) of my application. There are sufficient comments in my code. Has anyone written any Shell Script Utility which can parse the PLSQL code and generate some kind of document ( preferrably HTML not... (1 Reply)
Discussion started by: gauravsachan
1 Replies
10. Shell Programming and Scripting
How can I create a large list of document ids, about a 1,000 or more in a list without having to type them in?
If I can list these documents ids with one command I know how to transfer the output to a new vi list.
But how can I strip unwanted extra information in this list and leave only the... (1 Reply)
Discussion started by: ruben7566
1 Replies
File::Spec::Native(3pm) User Contributed Perl Documentation File::Spec::Native(3pm)
NAME
File::Spec::Native - Use native OS implementation of File::Spec from a subclass
VERSION
version 1.003
SYNOPSIS
# This serves little purpose on its own but can be useful in some situations
# For example:
use Path::Class 0.24;
# convert foreign file type into native type
# without having to know what the current OS is
foreign_file(Win32 => $win32_path)->as_foreign("Native");
# or to build a file-spec dynamically (possibly taking the type from input):
my $type = get_requested_file_spec(); # can return "Native"
foreign_file($type => $file_path);
# having $type be "Native" is an alternative to having to do:
my $file = $type ? foreign_file($type, $file_path) : file($file_path);
DESCRIPTION
This module is a stupid hack to make the default File::Spec behavior available from a subclass. This can be useful when using another
module that expects a subclass of File::Spec but you want to use the current, native OS format (automatically detected by File::Spec).
For example: "as_foreign" in Path::Class (as of version 0.24) allows you to translate a Path::Class object from one OS format to another.
However, there is no way to specify that you want to translate the path into the current, native OS format without guessing at what that
format is (which may include peeking into @File::Spec::ISA).
This module @ISA File::Spec.
SEE ALSO
o File::Spec
o Path::Class
o <https://rt.cpan.org/Ticket/Display.html?id=49721>
SUPPORT
Perldoc
You can find documentation for this module with the perldoc command.
perldoc File::Spec::Native
Websites
The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please
use your favorite search engine to discover more resources.
o Search CPAN
The default CPAN search engine, useful to view POD in HTML format.
http://search.cpan.org/dist/File-Spec-Native <http://search.cpan.org/dist/File-Spec-Native>
o RT: CPAN's Bug Tracker
The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
http://rt.cpan.org/NoAuth/Bugs.html?Dist=File-Spec-Native <http://rt.cpan.org/NoAuth/Bugs.html?Dist=File-Spec-Native>
o CPAN Ratings
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules.
http://cpanratings.perl.org/d/File-Spec-Native <http://cpanratings.perl.org/d/File-Spec-Native>
o CPAN Testers
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions.
http://www.cpantesters.org/distro/F/File-Spec-Native <http://www.cpantesters.org/distro/F/File-Spec-Native>
o CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
http://matrix.cpantesters.org/?dist=File-Spec-Native <http://matrix.cpantesters.org/?dist=File-Spec-Native>
o CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
<http://deps.cpantesters.org/?module=File::Spec::Native>
Bugs / Feature Requests
Please report any bugs or feature requests by email to "bug-file-spec-native at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Spec-Native <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Spec-Native>. You will
be automatically notified of any progress on the request by the system.
Source Code
http://github.com/rwstauner/File-Spec-Native <http://github.com/rwstauner/File-Spec-Native>
git clone http://github.com/rwstauner/File-Spec-Native
AUTHOR
Randy Stauner <rwstauner@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Randy Stauner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2011-07-14 File::Spec::Native(3pm)