Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

file::spec::cygwin(3pm) [debian man page]

File::Spec::Cygwin(3pm) 				User Contributed Perl Documentation				   File::Spec::Cygwin(3pm)

NAME
File::Spec::Cygwin - methods for Cygwin file specs SYNOPSIS
require File::Spec::Cygwin; # Done internally by File::Spec if needed DESCRIPTION
See File::Spec and File::Spec::Unix. This package overrides the implementation of these methods, not the semantics. This module is still in beta. Cygwin-knowledgeable folks are invited to offer patches and suggestions. canonpath Any "" (backslashes) are converted to "/" (forward slashes), and then File::Spec::Unix canonpath() is called on the result. file_name_is_absolute True is returned if the file name begins with "drive_letter:", and if not, File::Spec::Unix file_name_is_absolute() is called. tmpdir (override) Returns a string representation of the first existing directory from the following list: $ENV{TMPDIR} /tmp $ENV{'TMP'} $ENV{'TEMP'} C:/temp Since Perl 5.8.0, if running under taint mode, and if the environment variables are tainted, they are not used. case_tolerant Override Unix. Cygwin case-tolerance depends on managed mount settings and as with MsWin32 on GetVolumeInformation() $ouFsFlags == FS_CASE_SENSITIVE, indicating the case significance when comparing file specifications. Default: 1 COPYRIGHT
Copyright (c) 2004,2007 by the Perl 5 Porters. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-09-20 File::Spec::Cygwin(3pm)

Check Out this Related Man Page

File::Spec::Functions(3pm)				User Contributed Perl Documentation				File::Spec::Functions(3pm)

NAME
File::Spec::Functions - portably perform operations on file names SYNOPSIS
use File::Spec::Functions; $x = catfile('a','b'); DESCRIPTION
This module exports convenience functions for all of the class methods provided by File::Spec. For a reference of available functions, please consult File::Spec::Unix, which contains the entire set, and which is inherited by the modules for other platforms. For further information, please see File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, or File::Spec::VMS. Exports The following functions are exported by default. canonpath catdir catfile curdir rootdir updir no_upwards file_name_is_absolute path The following functions are exported only by request. devnull tmpdir splitpath splitdir catpath abs2rel rel2abs case_tolerant All the functions may be imported using the ":ALL" tag. COPYRIGHT
Copyright (c) 2004 by the Perl 5 Porters. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
File::Spec, File::Spec::Unix, File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, File::Spec::VMS, ExtUtils::MakeMaker perl v5.14.2 2010-09-20 File::Spec::Functions(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix?Help!!

I just started classes at UNO and I am getting a Computer Science degree. I have never used Unix before so I don't know anything about it. We are using Sun Microsystems with the Solaris OS in our labs at school. Is there any way that I can get something to practice and use at home? How much would... (8 Replies)
Discussion started by: bjm2020
8 Replies

2. Linux

Run Webmin on Cygwin

Hello, I was wondering how i would download Webmin and install it on Cygwin. Can you install basically any linux program on cygwin and have it run or is it differet? Thanks for your help. (6 Replies)
Discussion started by: xcaliber
6 Replies

3. Shell Programming and Scripting

File from NT to Unix

Hi, I am trying to get a file from Windows NT to Unix through my FTP code in unix. There will be only one file every week on NT server. I have a situation something like below: If the file does not exists on NT server then run script1.sh (in unix box) ELSE If the file exists on the... (7 Replies)
Discussion started by: rkumar28
7 Replies

4. Programming

How to complie a c++ program in Unix or Cygwin?

Can I use gcc to compile a piece of c++ code? Do I need to name the file that contains the code as .cpp? Thank you (14 Replies)
Discussion started by: meili100
14 Replies

5. UNIX for Dummies Questions & Answers

Cygwin shell not coming up

Hi, I installed Cygwin y'day on Win XP SP2. The install went fine but when I clicked on Cygwin's shortcut to invoke its shell, it didn't come up.....was just opening for a fraction of second and then closed. Can anyone please advise? Regards er_ashu (6 Replies)
Discussion started by: er_ashu
6 Replies

6. UNIX for Dummies Questions & Answers

Cygwin X

I have managed a successful install of Cygwin (after a few tries), and like any sensible person am ignoring the console in favour of the xconsole. I have this set up how I want - tcsh, all hot-keys (including ^z for suspend) and et cetera, but find it awfully slow. Are there any good... (7 Replies)
Discussion started by: fulgura
7 Replies

7. UNIX for Dummies Questions & Answers

Moving File from Unix to windows

Dear All, Kindly could any one help me on this, I have Unix server and i need to grep some data from it such as(Disk utilization, CPU usage etc) and send it regularly (15 mins) to another Windows Server . Best Regards Omar (9 Replies)
Discussion started by: shamarty
9 Replies

8. Windows & DOS: Issues & Discussions

Did Apache bend my Cygwin? Or was it SSH?

A few hours ago, I installed Apache 2 for Windows. About 90 minutes ago, I started a terminal session, and discovered that my home folder had been changed from path "c:\cygwin\home\{myusername}" to path "c:\Documents and Settings\{myusername}". I did not make this change consciously, but I suspect... (9 Replies)
Discussion started by: SilversleevesX
9 Replies

9. Shell Programming and Scripting

BASH: Script jams Cygwin to 100% CPU -

I'd like to streamline the code more than a bit to get it to run faster. There's a thread about this and related issues of mine on the Cygwin mailing-list, but I want to eliminate any chances it might just be inefficient/inelegant/crappy code. A previous run of the same script on both Cygwin and... (6 Replies)
Discussion started by: SilversleevesX
6 Replies

10. Shell Programming and Scripting

bash:vi:command not found

I downloaded and installed "Cygwin yesterday onto my PC running Windows XP. When I tried to type "vi" in Cygwin's window, I got the following message bash: vi: Command not found What shud i do inorder to get into vi editor Thanks (10 Replies)
Discussion started by: bobby1015
10 Replies

11. Linux

Unix on Windows

Hi All I have window 7 ultimate installed on my machine. i want to install unix just like an application when i click on the application i should work on unix and when i close that application normal window 7 appears Example-: like in case of windows suppose we have installed the sql ... (9 Replies)
Discussion started by: parthmittal2007
9 Replies

12. UNIX for Dummies Questions & Answers

Cygwin errors

I'm not sure if this is the right place to post this or should I even be posting this here but here is my problem. I've recently installed Cygwin on my windows laptop so that I can run shell scripts. However I'm getting lots of errors with most lines of code in my scripts although the syntax is... (9 Replies)
Discussion started by: millsy5
9 Replies

13. UNIX for Advanced & Expert Users

tabmon -sh

Hello folks, Someone willing to explain what running 'tabmon -sh' does? Where can I find it in Unix? How does it work? I've been searching on google, but I cannot find any explanation :( Thanks for any reply, Arjan (9 Replies)
Discussion started by: velde_van_der_a
9 Replies

14. UNIX for Dummies Questions & Answers

Join?

Hi, I am trying to exclude certain rows in File 1, based on File 2. i.e. in the example below, File 3 should be the output; i.e. the rows in File 2 are excluded from File 1. Any hints/suggestions would be highly appreciated. Input File 1: a 1 xxx b 1 wje c 5 ere c 2 qqq d 3 yyy ... (9 Replies)
Discussion started by: pc2001
9 Replies

15. Shell Programming and Scripting

Bash Script (tar + md) on Cygwin

Hi everybody, First, I'm sorry for my bad english! I have the following situation: I have a Windows 2012 R2 with Cygwin installed. The Windows Server is used as a backup Server with Dell AppAssure installed. At the moment, AppAssure saves Backup Targets to a repository on his D. The... (9 Replies)
Discussion started by: fibra3000
9 Replies