The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to replace any char with newline char. mightysam Shell Programming and Scripting 5 09-18-2008 08:15 PM
how to count pariticular char in a location in a file arunkumar_mca UNIX for Dummies Questions & Answers 5 07-18-2007 11:40 AM
Change nth Char in a file.. pbsrinivas Shell Programming and Scripting 4 06-20-2007 04:11 AM
Finding EOL char is there or not in a big size file HariRaju Shell Programming and Scripting 4 06-14-2006 10:45 AM
trying to strip the first 4 char. of a file out via commandline Optimus_P UNIX for Dummies Questions & Answers 2 06-12-2001 01:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-25-2006
axes axes is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 49
touching a file which contains slash char

i need to create a file which contains (/) character.

Any help to do this
  #2 (permalink)  
Old 09-25-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
If you mean that you want the file name to contain a slash, you are out of luck. The system calls all will intrepret a slash to indicate a directory name. So if you try to create, say, "a/b", the kernel will expect a directory called "a" to be present and will try to create a file called "b" in it.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0