Sponsored Content
Top Forums Shell Programming and Scripting how to delete special characters from the file content Post 302456022 by kanakaraju on Thursday 23rd of September 2010 04:18:33 AM
Old 09-23-2010
how to delete special characters from the file content

Hello Team,

Any one suggest how to delte the below special character from a file which is having one column 10 rows of same below content.


----------------------------------------

Kosten|bersicht gemd_ ' =Welche Kosten kvnnen wir Ihnen gesondert in Rechnung stellen?= der
....
....
.....
10 record(s) selected.


out put should be:


Kosten|bersicht gemd_ ' Welche Kosten kvnnen wir Ihnen gesondert in Rechnung stellen? der


Regards
kanakaraju
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

search special characters in a file

Hello I am new to shell scripting and can anyone tell me how to check if there are any special characters in a file. Can i use grep ? thanks susie (2 Replies)
Discussion started by: cramya80
2 Replies

2. UNIX for Dummies Questions & Answers

how to see special characters in a file using vi

Hi, I have a file which has special characters. I can't see them when I "vi" the file. But I am sure there are some special un seen characters. How can I see them? Please help. Thx (6 Replies)
Discussion started by: jingi1234
6 Replies

3. UNIX for Dummies Questions & Answers

How to delete a file with special characters

I don't now exactly how I did it, but I created a file named " -C " cexdi:/home1 $ls -lt total 1801336 -rw------- 1 cexdi ced-group 922275840 23 mars 10:03 -C How do I delete this file ? cexdi:/home1 $rm -C rm: invalid option -- C Syntax : rm filename ... Doesn't work...... (5 Replies)
Discussion started by: yveslagace
5 Replies

4. Shell Programming and Scripting

how to delete content in a file (delete content only)

Hi Friends I have a file called processLog.txt file processLog.txt --------------- echo "line starts "$LINE suppCode=${LINE:0:3} #gatewayArchive=`scp root@mrp-gateway:/usr/local/apache/data/PLAT/MIMUS/upload/PROD/archive/112042708173000.txt /home/krishnaveni/scripts/tempFolder` #echo... (5 Replies)
Discussion started by: kittusri9
5 Replies

5. Shell Programming and Scripting

sed delete pattern with special characters

Hi all, I have the following lines <b>A gtwrhwrthwr text hghthwrhtwrtw </b><font color='#06C'>; text text (text) <b>B gtwrhwrthwr text hghthwrhtwrtw </b><font color='#06C'>; text text (text) <b>J gtwrhwrthwr text hghthwrhtwrtw </b><font color='#06C'>; text text (text) and I would like to... (5 Replies)
Discussion started by: stinkefisch
5 Replies

6. Shell Programming and Scripting

File containing special characters

Hello All, I am facing challenges in order to transfer a file from windows to unix box,the file contains a special character '×' ,now when I am transferring the file from windows to unix that special character converted to something else like 'Ã' ,another thing I have noticed that the hardware is... (1 Reply)
Discussion started by: prarat
1 Replies

7. UNIX for Dummies Questions & Answers

Naming file with special characters ?

Hi all, I have a problem with file naming in linux. I have to create a file named like 11/22.csv but shell displays error: no such file or dir. Problem is / character in the file name. I searched unix linux naming concepts and it's restricted in OS. Please tell me if there's any other chance? OS... (3 Replies)
Discussion started by: sembii
3 Replies

8. Shell Programming and Scripting

Parsing a file containing special characters

I want to parse a file containing special characters, below is a sample content of file content of file : Serial_no:1$$@#first_name:Rahane$$@last_name:Ajiyenke@@#profession:cricketer!@#*&^ Serial_no:1$$@#first_name:Rahane$$@last_name:Ajiyenke@@#profession:cricketer!@#*&^... (3 Replies)
Discussion started by: rajMjar
3 Replies

9. Shell Programming and Scripting

Delete special characters

My sed is not working on deleting the entire special characters and leaving what is necessary.grep connections_per a|sed -e 's/\<\!\-\-//g' INPUT: <!-- <connections_per_instance>1</connections_per_instance> --> <method>HALF</method> <!--... (10 Replies)
Discussion started by: kenshinhimura
10 Replies

10. UNIX for Advanced & Expert Users

Need help to delete special characters exists only at the end of the each record in UNIX file?

Hi, I have a file in unix with 15 columns.It consists special characters(#,$,^M,@,*,% etc)at the end of the each record.I want to remove these special characters.I used the following: Sed -e 's/ /g;s/ */ /g' . But It is removing special characters exists everywhere in the file(begining,middle... (24 Replies)
Discussion started by: rakeshp
24 Replies
fscat_vxfs(1M)															    fscat_vxfs(1M)

NAME
fscat_vxfs: fscat - cat a VxFS file system SYNOPSIS
output-file] offset] length] block_size] special DESCRIPTION
provides an interface to a VxFS snapshot file system, similar to that provided by invoked on the block or character special file of regular VxFS file systems. works when executed on the special device of any VxFS file system. On most VxFS file systems, the block or character special file for the file system provides access to a raw image of the file system to back up the file system to tape. On a snapshot file system, access to the corresponding block or character special file provides little useful information. provides a stream of bytes representing the file system snapshot. This datastream is written by default to standard output, although the output-file option can be used to specify another destination. The datastream on standard output can be processed several ways, such as in a pipeline, or written to a tape. By default, the output is a stream of bytes that starts at the beginning of the file system and continues to the last byte. On a snapshot file system, data is read from the file system using special ioctls on the mount point. On other VxFS file systems, data is read from the specified special file. Unless otherwise specified, data is written to standard output. All numbers entered as option arguments can have as a prefix to indicate octal, or as a prefix to indicate hexadecimal. A or can be appended to indicate the value is in 512-byte blocks, a or to indicate the value is in kilobytes, an or to indicate the value is in megabytes, or a or to indicate the value is in gigabytes. An appended letter can be separated from the number by a space, in which case the letter and number should be enclosed in a set of quotes. For example: All numbers entered as options must be in multiples of 512 bytes. For example, a value of 5713 as an offset is rejected. Options recognizes the following options: Specify the output block size, in bytes. block_size must be less than or equal to 1 megabyte. Specify the VxFS file system type. Specify an output file in which to write the datastream. Specify the transfer length, in bytes. A length of includes the remainder of the file system after the specified offset. Specify the starting offset in bytes. Operands recognizes the following operand: special Name of the special device from which the VxFS file system is accessed. Notes Snapshot file systems are only available with the HP OnLineJFS product. A snapshot file system cannot be written to. A snapshot file system exists only as long as it is mounted; once unmounted, the special file no longer contains a snapshot file system. When is run on a mounted VxFS snapshot, the content of free blocks (that is, blocks not allocated to any file or metadata) is undefined. The content of free blocks can change after additional data is written to the primary file system, but blocks associated with files always display the content they had when the snapshot was created. does not work with Storage Checkpoints. SEE ALSO
dd(1), fs_vxfs(4), vxfsio(7). fscat_vxfs(1M)
All times are GMT -4. The time now is 08:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy