Sponsored Content
Top Forums UNIX for Advanced & Expert Users Need help to delete special characters exists only at the end of the each record in UNIX file? Post 303029167 by RudiC on Tuesday 22nd of January 2019 04:25:31 PM
Old 01-22-2019
Thanks for pointing out the remaining syntax error - didn't test the command before posting. Corrected in my above post. For your other questions - I don't know what exactly the requestor is after, as the spec is unclear, so I just corrected (partly, haha) the obvious, taking for granted the rest of the original regex. Let's wait for a statement of the requestor, or, even better, a data sample.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix file does not display special characters

We have a unix file that contains special characters (ie. Ñ, °, É, ¿ , £ , ø ). When I try to read this file I get a codepage error and the characters are replaced by the # symbol. How do I keep the special characters from being read? Thanks. Ryan (3 Replies)
Discussion started by: Ryan2786
3 Replies

2. 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

3. UNIX for Dummies Questions & Answers

Advice on extracting special characters from a DB2 table to a file in the UNIX ENV

need some advice on the following situation. I have a DB2 table which has a varchar Column. This varchar column can have special characters like ©, ®, ™ . When I extract from this table to a sequential file for this varchar column I am only able to get © and ® . To Get the ™... (1 Reply)
Discussion started by: cosec
1 Replies

4. 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

5. Shell Programming and Scripting

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... (2 Replies)
Discussion started by: kanakaraju
2 Replies

6. Shell Programming and Scripting

Windows to UNIX FTP Special characters!

I have a file that has the name in one of the lines as MARíA MENDOZA in Windows. When this gets FTPed over to UNIX it appears as MAR�A MENDOZA. Is there anyway to overcome this? Its causing a issue because the file is Postional and fields are getting pushed by 2 digits.. Any help would be... (4 Replies)
Discussion started by: venky338
4 Replies

7. Shell Programming and Scripting

Need unix commands to delete records from one file if the same record present in another file...

Need unix commands to delete records from one file if the same record present in another file... just like join ... if the record present in both files.. delete from first file or delete the particular record and write the unmatched records to new file.. tried with grep and while... (6 Replies)
Discussion started by: msathees
6 Replies

8. Shell Programming and Scripting

How to add trailer record at the end of the flat file in the unix ksh shell scripting?

Hi, How to add trailer record at the end of the flat file in the unix ksh shell scripting can you please let me know the procedure Regards Srikanth (3 Replies)
Discussion started by: srikanth_sagi
3 Replies

9. Shell Programming and Scripting

UNIX Special Characters

Any time I do : ls *.txt > mytext.txt I get something like this in the output file: ^ Tue Jan 22 16:19:19 EST 2013 x86_64 x86_64 x86_64 GNU/Linux t1Fam_BrOv :~>alias | grep ls alias l.='ls -d .* --color=tty' alias lR='ls -R' alias la='ls -Al' alias lc='ls -ltcr' alias ldd='ls -ltr |... (5 Replies)
Discussion started by: genehunter
5 Replies

10. 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
Gtk2::Gdk::Selection(3pm)				User Contributed Perl Documentation				 Gtk2::Gdk::Selection(3pm)

NAME
Gtk2::Gdk::Selection METHODS
Gtk2::Gdk::Selection->convert ($requestor, $selection, $target, $time_) o $requestor (Gtk2::Gdk::Window) o $selection (Gtk2::Gdk::Atom) o $target (Gtk2::Gdk::Atom) o $time_ (unsigned) window or undef = Gtk2::Gdk::Selection->owner_get ($selection) o $selection (Gtk2::Gdk::Atom) window or undef = Gtk2::Gdk::Selection->owner_get_for_display ($display, $selection) o $display (Gtk2::Gdk::Display) o $selection (Gtk2::Gdk::Atom) Since: gtk+ 2.2 boolean = Gtk2::Gdk::Selection->owner_set ($owner, $selection, $time_, $send_event) o $owner (Gtk2::Gdk::Window or undef) o $selection (Gtk2::Gdk::Atom) o $time_ (unsigned) o $send_event (boolean) boolean = Gtk2::Gdk::Selection->owner_set_for_display ($display, $owner, $selection, $time_, $send_event) o $display (Gtk2::Gdk::Display) o $owner (Gtk2::Gdk::Window) o $selection (Gtk2::Gdk::Atom) o $time_ (unsigned) o $send_event (boolean) Since: gtk+ 2.2 (data, prop_type, prop_format) = Gtk2::Gdk::Selection->property_get ($requestor) o $requestor (Gtk2::Gdk::Window) Use Gtk2::Clipboard instead. Gtk2::Gdk::Selection->send_notify ($requestor, $selection, $target, $property, $time_) o $requestor (unsigned) o $selection (Gtk2::Gdk::Atom) o $target (Gtk2::Gdk::Atom) o $property (Gtk2::Gdk::Atom) o $time_ (unsigned) Gtk2::Gdk::Selection->send_notify_for_display ($display, $requestor, $selection, $target, $property, $time_) o $display (Gtk2::Gdk::Display) o $requestor (unsigned) o $selection (Gtk2::Gdk::Atom) o $target (Gtk2::Gdk::Atom) o $property (Gtk2::Gdk::Atom) o $time_ (unsigned) Since: gtk+ 2.2 SEE ALSO
Gtk2 COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Gdk::Selection(3pm)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy