I can get both forward and backward slashes.
C:\home\epics\R3.14.7\base\configure\tools>fullPathName.pl ..\..
C:/home/epics/R3.14.7/base
C:\home\epics\R3.14.7\base\configure\tools>fullPathName.pl ../..
C:/home/epics/R3.14.7/base
C:\home\epics\R3.14.7\base\configure\tools>fullPathName.pl c:\home
c:\home
C:\home\epics\R3.14.7\base\configure\tools>fullPathName.pl c:/home
c:/home
C:\home\epics\R3.14.7\base\configure\tools>
C:\home\npr78>perl -v
This is perl, v5.8.7 built for MSWin32-x86-multi-thread
(with 14 registered patches, see perl -V for more detail)
Copyright 1987-2005, Larry Wall
Binary build 815 [211909] provided by ActiveState
http://www.ActiveState.com
ActiveState is a division of Sophos.
Built Nov 2 2005 08:44:52
Looks like perl is not completely consistent.
Cheers,
Nick Rees
Principal Software Engineer Phone: +44 (0)1235-778430
Diamond Light Source Fax: +44 (0)1235-446713
--
Scanned by iCritical.
- Replies:
- RE: Escaped strings from fullPathName.pl Pedersen, UK (Ulrik)
- References:
- Escaped strings from fullPathName.pl Pedersen, UK (Ulrik)
- RE: Escaped strings from fullPathName.pl Mark Rivers
- RE: Escaped strings from fullPathName.pl Pedersen, UK (Ulrik)
- Navigate by Date:
- Prev:
RE: When an external device does not provide termination on TCP ASCIIstream replies Allison, Stephanie
- Next:
RE: Escaped strings from fullPathName.pl Pedersen, UK (Ulrik)
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Escaped strings from fullPathName.pl Mark Rivers
- Next:
RE: Escaped strings from fullPathName.pl Pedersen, UK (Ulrik)
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|