Please help me in removing the 2nd file :
-rw-rw-rw- 1 fup03a fup03a 9216 Aug 16 00:45 med_delay_log
-rw-rw-rw- 1 fup03a fup03a 0 Aug 16 18:04 (5 Replies)
I run the command:
/usr/sbin/acct/fwtmp < /var/adm/wtmp > dummy.file
Get the login information
However, what's the meaning in the file:
abc pts/2 pts/2 7 2847322 0000 0000 1203261111 172.24.80.23 Sun Feb 17 10:11:51 EST 2007... (0 Replies)
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
I have a file which contains 6 columns.
But I only need the first 3 columns. So I need to remove the last 3 columns. I checked 'cut' but it seems not working.
So is there a command that could remove certain columns from a file? :(
Thanks a lot!! (5 Replies)
Hi All
Can anyone please suggest me how to remove the last byte from a falt file .This is from the last line's last BYTE.
Please suggest me something.
Thank's and regards
Vinay (1 Reply)
I am new to Unix so will really appreciate if someone can guide me on this.
What I want to do is:
Step1: Read binary file - pick first 2 bytes, convert from hex to decimal. Read the next 3 bytes as well.
2 bytes will specify the number of bytes 'n' that I want to read and write... (1 Reply)
Hi, everyone,
I have a matrix, let's say:
1 2 3 4 5 6 ...
4 5 6 7 8 9 ...
7 8 9 1 2 3 ...
3 4 5 6 7 8 ...
.........
(nxm matrix)
Is there a simple command that can take certain specific rows out of the matrix?
e.g., I want to take row 2 (4 5 6 7 8 9 ...) and row 4 (3 4 5 6 7 8... (2 Replies)
Hey guys, i have a file a.txt and i need to insert a dummy data into it as per the below pattern..
bash: cat a.txt
1234,34
3434,45
4545,56
3434,56
Now i need the file in the below pattern
1234,34,a0001,C_01
3434,45,a0002,C_02
4545,56,a0003,C_03
3434,56,a0004,C_04
here the count of... (3 Replies)
Hello. My latest project has me with the need for the following script. Basically, any directory that includes a .jpg file needs to also have a ".picture" file created (if it doesn't exist). Here's an example of what I need.
/mnt/user/Pictures/2011/Hawaii - 2011/.picture... (11 Replies)
hi,
i want to create a dummy file even if the path to that file is not exist as follows.
suppose, in my working directory 2 files are there. and
i create one more file which is exist as follows
# pwd
/home/satya
# ls
file1.txt file2.txt
# echo dummy > /home/satya/file3.txt
# ls... (3 Replies)
Discussion started by: snreddy_gopu
3 Replies
LEARN ABOUT DEBIAN
padre::pluginmanager
Padre::PluginManager(3pm) User Contributed Perl Documentation Padre::PluginManager(3pm)NAME
Padre::PluginManager - Padre plug-in manager
DESCRIPTION
The "PluginManager" class contains logic for locating and loading Padre plug-ins, as well as providing part of the interface to plug-in
writers.
METHODS
"new"
The constructor returns a new "Padre::PluginManager" object, but you should normally access it via the main Padre object:
my $manager = Padre->ide->plugin_manager;
First argument should be a Padre object.
"parent"
Stores a reference back to the parent IDE object.
"plugin_dir"
Returns the user plug-in directory (below the Padre configuration directory). This directory was added to the @INC module search path.
"plugins"
Returns a hash (reference) of plug-in names associated with a Padre::PluginHandle.
This hash is only populated after "load_plugins()" was called.
current
Gets a Padre::Current context for the plugin manager.
"main"
A convenience method to get to the main window.
"load_plugins"
Scans for new plug-ins in the user plug-in directory, in @INC, and in .par files in the user plug-in directory.
Loads any given module only once, i.e. does not refresh if the plug-in has changed while Padre was running.
"reload_plugins"
For all registered plug-ins, unload them if they were loaded and then reload them.
"alert_new"
The "alert_new" method is called by the main window post-initialisation and checks for new plug-ins. If any are found, it presents a
message to the user.
"failed"
Returns the list of all plugins that the editor attempted to load but failed. Note that after a failed attempt, the plug-in is usually
disabled in the configuration and not loaded again when the editor is restarted.
"load_plugin"
Given a plug-in name such as "Foo" (the part after "Padre::Plugin"), load the corresponding module, enable the plug-in and update the Plug-
ins menu, etc.
"unload_plugin"
Given a plug-in name such as "Foo" (the part after "Padre::Plugin"), disable the plug-in, unload the corresponding module, and update the
Plug-ins menu, etc.
"reload_plugin"
Reload a single plug-in whose name (without "Padre::Plugin::") is passed in as first argument.
"reload_current_plugin"
When developing a plug-in one usually edits the files belonging to the plug-in (The "Padre::Plugin::Wonder" itself or
"Padre::Documents::Wonder" located in the same project as the plug-in itself.
This call and the appropriate menu option should be able to load (or reload) that plug-in.
"on_context_menu"
Called by "Padre::Wx::Editor" when a context menu is about to be displayed. The method calls the context menu hooks in all plug-ins that
have one for plug-in specific manipulation of the context menu.
SEE ALSO
Padre, Padre::Config
COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
perl v5.14.2 2012-06-27 Padre::PluginManager(3pm)