Sponsored Content
Full Discussion: Control Characters
Top Forums Shell Programming and Scripting Control Characters Post 302532530 by iamnoone on Tuesday 21st of June 2011 08:15:32 AM
Old 06-21-2011
Data Control Characters

Can somebody please help me with the query. ?

I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..!

Please help me
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

printing control characters

using c-shell, does anyone know how to send control characters to the printer before the job? I need to set a printer to print in condensed mode HELP (1 Reply)
Discussion started by: mglinsk
1 Replies

2. UNIX for Dummies Questions & Answers

getting rid of control characters

how can i get rid of the control characters , ex. ^M, ^G, in a file? thanks... (2 Replies)
Discussion started by: apalex
2 Replies

3. UNIX for Dummies Questions & Answers

Remove control characters

Hi, When I do a man and save it into a file, I end up getting a lot of control characters. How can I remove them?? I tried this: /1,$ s/^H//g But I get an error saying "no previous regular expression". Can someone help me with this. Thanks, Aravind (5 Replies)
Discussion started by: aravind_mg
5 Replies

4. Shell Programming and Scripting

how to replace control characters using sed?

How can I use sed to replace a ctrl character such as 'new line' (\0a) to something else? Or any other good command can do this job? Thanks, Hillxy (5 Replies)
Discussion started by: hillxy
5 Replies

5. Shell Programming and Scripting

screen control characters

Hi, Can anyone help me with controlling the cursor position from a shell script. Things like moving left,right,up,down etc Anyone have any ideas? (2 Replies)
Discussion started by: ajcannon
2 Replies

6. Shell Programming and Scripting

Urgent : Control Characters

Can somebody please help me with the query. ? I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..! Please help me (1 Reply)
Discussion started by: iamnoone
1 Replies

7. Shell Programming and Scripting

sed replacing specific characters and control characters by escaping

sed -e "s// /g" old.txt > new.txt While I do know some control characters need to be escaped, can normal characters also be escaped and still work the same way? Basically I do not know all control characters that have a special meaning, for example, ?, ., % have a meaning and have to be escaped... (11 Replies)
Discussion started by: ijustneeda
11 Replies

8. Shell Programming and Scripting

Control characters -weird problem

I am using Korn shell on Linux 2.6x platform , and I am suing the following code to capture the lines which contain CONTROL CHARACTERS in my file : awk '/]/ {print NR}' EROLLMENT_INPUT.txt The problem is that this code shows the file has control characters when the file is in folder A ,... (2 Replies)
Discussion started by: kumarjt
2 Replies

9. UNIX for Dummies Questions & Answers

Control characters in UNIX

Hi, My files are showing some control characters in vi editor ^M ^@ and somtimes ^H I removed ^M with %s/^M//g command but how to represent ^@ and ^H e.g. for ^M it is hold ctrl then v and m.. Please help.. I am very new to unix.. (7 Replies)
Discussion started by: prabhat.diwaker
7 Replies

10. Shell Programming and Scripting

Control Characters

Hallo Team, I am trying to get rid of the dollar sign. I managed to remove all the other special characters but i am struggling with this one. -bash-3.2$ cat -e missing_revenue_20141112.csv|less|head BW0522168531211141180935668@196.23.110.141$ BW092218784121114-370120610@196.23.110.141$... (4 Replies)
Discussion started by: kekanap
4 Replies
Net::LDAP::Control::Relax(3)				User Contributed Perl Documentation			      Net::LDAP::Control::Relax(3)

NAME
Net::LDAP::Control::Relax - LDAPv3 Relax control object SYNOPSIS
use Net::LDAP; use Net::LDAP::Control::Relax; $ldap = Net::LDAP->new( "ldap.mydomain.eg" ); $relax = Net::LDAP::Control::Relax->new(); $msg = $ldap->modify( 'dc=sub,dc=mydomain,dc=eg", changes => [ replace => { modifyTimestamp => '19700101000000Z' } ], control => [ $relax ] ); die "error: ",$msg->code(),": ",$msg->error() if ($msg->code()); DESCRIPTION
"Net::LDAP::Control::Relax" provides an interface for the creation and manipulation of objects that represent the "Relax" control as described by draft-zeilenga-ldap-relax-03.txt The presence of the Relax control in an LDAP update request indicates the server temporarily relax X.500 model constraints during performance of the directory update. The control is appropriate for all LDAP update requests, including add, delete, modify, and modifyDN (rename) [RFC4511]. Its criticality is always set to TRUE, and no value. There is no corresponding response control. CONSTRUCTOR ARGUMENTS
Since the "Relax" control does not have any values only the constructor arguments described in Net::LDAP::Control are supported METHODS
As there are no additional values in the control only the methods in Net::LDAP::Control are available for "Net::LDAP::Control::Relax" objects. SEE ALSO
Net::LDAP, Net::LDAP::Control, AUTHOR
Peter Marschall <peter@adpm.de>. Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org> COPYRIGHT
Copyright (c) 2013 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2013-07-21 Net::LDAP::Control::Relax(3)
All times are GMT -4. The time now is 02:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy