Sponsored Content
Operating Systems Solaris How to remove a directory or file with special characters in Solaris Post 302443247 by System Shock on Saturday 7th of August 2010 07:19:09 PM
Old 08-07-2010
easier way:

Code:
# ls
    @#hello
    world
# rm **hello
# ls
   world
#

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remove directory that has special Characters

Hi All, I have a script written that creates a new directory within the shell program and if a parameter isn't passed in, it creates a strange directory name by mistake. So I have a directory like "-_12" and I am unable to remove it. I tried removing it using double quote and many others. I have... (12 Replies)
Discussion started by: datherriault
12 Replies

2. UNIX for Dummies Questions & Answers

How to Remove Special Characters

Dear Members, We have a file which contains some special characters. I need to replace these special character by a new line character(\n). The Special character is \x85. I am not sure what this character means and how we can remove it. Any inputs are greatly appreciated. Thanks... (5 Replies)
Discussion started by: sandeep_1105
5 Replies

3. Shell Programming and Scripting

Remove special characters from text file

Hi All, i am trying to remove all special charecters().,/\~!@#%^$*&^_- and others from a tab delimited file. I am using the following code. while read LINE do echo $LINE | tr -d '=;:`"<>,./?!@#$%^&(){}'|tr -d "-"|tr -d "'" | tr -d "_" done < trial.txt > output.txt Problem ... (10 Replies)
Discussion started by: kkb
10 Replies

4. Shell Programming and Scripting

remove special characters

hello all I am writing a perl code and i wish to remove the special characters for text. I wish to remove all extended ascii characters. If the list of special characters is huge, how can i do this using substitute command s/specialcharacters/null/g I really want to code like... (3 Replies)
Discussion started by: vasuarjula
3 Replies

5. Shell Programming and Scripting

Read file and remove special characters or strings

Hello all I am getting data like col1 | col2 | col3 asdafa | asdfasfa | asf*&^sgê 345./ |sdfasd23425^%^&^ | sdfsa23 êsfsfd | sf(* | sdfsasf My requirement is like I have to to read the file and remove all special characters and hex characters ranging form 00-1f from 1st column, remove %"'... (1 Reply)
Discussion started by: vasuarjula
1 Replies

6. Shell Programming and Scripting

remove the special characters and move the file into another server

(5 Replies)
Discussion started by: number10
5 Replies

7. UNIX for Advanced & Expert Users

What my puzzle file!, How to remove special characters ??

My application generate file but it have special characters in these file. I would like to clear special characters by vi editor and not use cat /dev/null > to_file I try to remove characters manually, but I'm can not! root@MyHost /tmp> ls -l puzzle.txt -rw-r--r-- 1 root system ... (5 Replies)
Discussion started by: arm_naja
5 Replies

8. Shell Programming and Scripting

How to remove alphabets/special characters/space in the 5th field of a tab delimited file?

Thank you for 4 looking this post. We have a tab delimited file where we are facing problem in a lot of funny character. I have tried using awk but failed that is not working. In the 5th field ID which is supposed to be a integer only of that file, we are getting corrupted data as below. I... (12 Replies)
Discussion started by: Srithar
12 Replies

9. UNIX for Beginners Questions & Answers

To remove any invisible and special characters from the file(exclude @!#$&*)

Hi Guys, My requirement is to remove any invisible and special characters from the file like control M(carriage return) and alt numerics and it should not replace @#!$% abc|xyz|acd¥£ó adc|123| 12áí Please help on this. Thanks Rakesh (1 Reply)
Discussion started by: rakeshp
1 Replies

10. UNIX for Advanced & Expert Users

To remove any invisible and special characters from the file(exclude @#!$*)

Hi Guys, My requirement is to remove any invisible and special characters from the file like control M(carriage return) and alt numerics and it should not replace @#!$% abc|xyz|acd¥£ó adc|123| 12áí Please help on this. Thanks Rakesh (1 Reply)
Discussion started by: rakeshp
1 Replies
BlenderImport(3pm)					User Contributed Perl Documentation					BlenderImport(3pm)

NAME
XRacer::BlenderImport - Import files exported by xracer-blenderexport.py SYNOPSIS
use XRacer::BlenderImport; $world = parse XRacer::BlenderImport [ $filename ]; $index = $world->add_vertex ($vertex); $verticesref = $world->get_vertices; %layerinfo = $world->get_layer_info; @objects = $world->get_meshes_in_layer ($layer); DESCRIPTION
The "XRacer::BlenderImport" module contains functions for importing special XRacer-specific Blender files into Perl scripts. These Blender files have been previously exported by the "xracer-blenderexport.py" Python script for Blender. The "XRacer::BlenderImport" module parses the "blender.export" file, cleans it up (removing multiple vertices, for example) and presents an internal world representation. The world is divided into layers (corresponding to the layers in the original Blender image), and in each of these layers is a set of meshes. FUNDAMENTAL TYPES Vertices are stored in a global list, so that common vertices are only stored once. A vertex structure looks like this: $vertex = { coords => [ $x, $y, $z, 0 ], texcoords => [ $u, $v ], normal => [ $nx, $ny, $nz, 0 ], colour => [ $r, $g, $b, $a ] }; The fields are (in order): the coordinates of the vertex, the texture coordinates, the normal vector at this point and the colour of the vertex. Faces are stored simply as a list of vertex indices (relative to the global list of vertices). A face looks like this: $face = { vertices => [ $index0, $index1, $index2, ... ] } Faces have at least three vertices, and maybe more. A mesh is a list of faces and additional information, such as the name of the mesh (object). A mesh structure looks like this: $mesh = { name => $name, layer => $layer, faces => @faces, material => [ $red, $green, $blue ], has_colours => $has_colours, has_texcoords => $has_texcoords, has_material => $has_material }; The fields are: the name of the mesh (or object), the layer on which the object exists, the list of faces, the material and then three flags which are passed to us from Blender: did the user supply vertex colours? did the user supply texture coordinates? and did the user supply a material? CLASS METHODS
$world = parse XRacer::BlenderImport [ $filename ]; Parse the import file $filename (or "blender.export" if no filename is given) and generate a world representation. If the file could not be parsed, then this function will print an error message and return "undef". OBJECT METHODS
$index = $world->add_vertex ($vertex) This function adds a single vertex to the world object (vertices are stored in a large shared list so that common vertices are folded into one). It returns the vertex index of the new vertex. If another vertex with the same position, texture coordinates, normal and colour existed, then this function would return the index of the other vertex, rather than creating a fresh vertex object. $verticesref = $world->get_vertices This returns a reference to the global list of vertices. You must not update or change this list. Use the "add_vertex" method instead. %layerinfo = $world->get_layer_info This method returns a hash. The keys of the hash are layers which contain at least one object. The values of the hash are the number of objects in that layer. For example, if the world contained 3 objects on layer 1, 1 object on layer 2 and 4 objects on layer 5, then the hash returned would be equivalent to: %layerinfo = ( 1 => 3, 2 => 1, 5 => 4 ); @objects = $world->get_meshes_in_layer ($layer) Get a list of the objects (i.e. meshes) found in layer $layer. See the DESCRIPTION section above for a description of the mesh structure. AUTHOR
Richard W.M. Jones, <rich@annexia.org> COPYRIGHT
XRacer is copyright (C) 1999-2000 Richard W.M. Jones (rich@annexia.org) and other contributors listed in the AUTHORS file. SEE ALSO
perl(1), xracer(6). perl v5.14.2 2000-01-30 BlenderImport(3pm)
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy