12-05-2008
Just like I said in the example tr code. Change \1 to \5 or \9.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
please let me know
how can i mail the binary files
is it can be done thru pine?
is there any other way to do it?
wat are the changes in system i have to make
and one more thing
i am sending data to a message queue and then retriving the data from the queue
but when i do the ipcs... (1 Reply)
Discussion started by: ramneek
1 Replies
2. Solaris
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
3. UNIX for Dummies Questions & Answers
How can we see the contents of a binary file? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
4. Programming
Hi all
I have a C program to write it's output into a textfile which is also created by the program in between. The file that's get created prompt's a message while opening manually that the file is binary and any change in that leads to it's corruption.
I have used putc() to write the output... (2 Replies)
Discussion started by: joshighanshyam
2 Replies
5. Shell Programming and Scripting
Hi,
I wrote a small script whose function is to execute the postemsg provided if the threshold breaches.
I want to log this postemsg messages to a log file. But I am not able to do. Can someone throw some light on how to log the output of this. I am pasting a snippet of that code.
... (2 Replies)
Discussion started by: dbashyam
2 Replies
6. UNIX for Dummies Questions & Answers
I am using grep to match a pattern, but the output is strange.
$ grep -r -o "pattern" *
Gives me:
Binary file foo1 matches
Binary file foo2 matches
Binary file foo3 matches
To find the lines before/after, I then have to use the following on each file:
$ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies
7. UNIX for Advanced & Expert Users
Hello,
Can I copy a binary file while the file is being written to by another process?
Another process (program) “P1” creates and opens (for writing) binary file “ABC” on local disk. Process P1 continuously write into ABC file every couple of seconds, adding 512-byte blocks of data. ABC file... (1 Reply)
Discussion started by: mbuki
1 Replies
8. Shell Programming and Scripting
I am struck up with a problem and that is with output redirection.
I used all the ways for the redirection of the output of c binary to a file, still it is failing.
Here are the different ways which I have used:
./a.out | tee -a /root/tmp.txt 2>&1
./a.out | tee -a /root/tmp.txt 1>&1
./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies
9. UNIX for Dummies Questions & Answers
Hello guys,
We had to move from a DC to another, and we are now facing an "issue" with some text files.
Looks like that some of our log files are set as binary:
file TuxConnectorURA.20121012
TuxConnectorURA.20121012: data or International Language text
less TuxConnectorURA.20121012... (2 Replies)
Discussion started by: EnioMarques
2 Replies
10. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
LEARN ABOUT DEBIAN
cipux::object::action::attribute::change
CipUX::Object::Action::Attribute::Change(3pm) User Contributed Perl Documentation CipUX::Object::Action::Attribute::Change(3pm)
NAME
CipUX::Object::Action::Attribute::Change - Object layer class for CipUX
VERSION
version 3.4.0.5
SYNOPSIS
use CipUX::Object::Action::Attribute::Change;
DESCRIPTION
Provides the functions cipux_object_create and cipux_object_destroy as well as some auto-calculated values for example for userPassword.
ABSTRACT
The CipUX object layer is a generic abstract class, which can be used by other classes or scripts.
The function cipux_object_create may create one or several LDAP nodes according to the configuration structure in
/etc/cipux/cipux-object.conf or ~/.cipux/cipux-object.conf.
The function cipux_object_destroy tries to remove one or more LDAP nodes.
SUBROUTINES
/METHODS
The following functions will be exported by CipUX::Object::Action::Attribute::Change.
change_object_attribute_action
Change (add, modify, erase) one or more attribute values.
use CipUX::Object::Action::Attribute::Change;
my $c = CipUX::Object::Action::Attribute::Change->new();
$c->change_object_attribute_action( {
# API 1 args
action => $action,
type => $type,
attr_hr => $attr_hr,
# API 2 args
object => $object,
scope => $scope,
changes_hr => $changes_hr,
filter_hr => $filter_hr,
target_hr => $target_hr,
} );
Where as for example:
action => 'change_object_attribute_action',
type => 'cipux_account_object',
attr_hr => $attr_hr,
object => 'rpctestadmin',
scope => 'one',
changes_hr => $changes_hr,
filter_hr => $filter_hr,
target_hr => $target_hr,
userPassword
TODO
sambaNTPassword
TODO
sambaLMPassword
TODO
sambaPasswordHistory
TODO
sambaPwdLastSet
TODO
member
TODO
DIAGNOSTICS
TODO
CONFIGURATION AND ENVIRONMENT
TODO
DEPENDENCIES
Carp Class:Std CipUX CipUX::Storage Data::Dumper Date::Manip Log::Log4perl Readonly
INCOMPATIBILITIES
Not known.
BUGS AND LIMITATIONS
Not known.
SEE ALSO
See the CipUX web page and the manual at <http://www.cipux.org>
See the mailing list http://sympa.cipworx.org/wws/info/cipux-devel <http://sympa.cipworx.org/wws/info/cipux-devel>
AUTHOR
Christian Kuelker <christian.kuelker@cipworx.org>
LICENSE AND COPYRIGHT
Copyright (C) 2007 - 2009 by Christian Kuelker
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
perl v5.12.3 2011-05-05 CipUX::Object::Action::Attribute::Change(3pm)