I am trying to add ungrouped passengers in a group and I creating a script however it fails on first step only I tried all the options it returns following error.
syntax error at junki line 4, near "open "
Execution of junki aborted due to compilation errors.
at junki line 14
Here is my code
Usually I use following commands to do it manually.
select only 3 ID's where group name is noname and list them in a comma saperated format like 0050,0052,0053....
then run following command to make sure they are not member any other groups.
if they are not member of any group then print in the following format in file - name grpid_class
once they are displayed to user run the file in following command
succuessful display message.
Last edited by Scott; 05-18-2011 at 04:34 PM..
Reason: Code tags, please...
I need to write a function that will work in sh/ksh shell that will test to see if a file has already been opened for writting by another user
has anyone written something like this? (3 Replies)
Hi Everyone,
We know that when we open a popup window, if my IE, Yahoo tool bar enable the popup-blocker, then my window will be blocked. like my code.
print <<EOD;
<script language=JavaScript>
var s = new String(window.location.href);
if (s.match(/Start/)){
... (3 Replies)
To begin:
I use Linux
The Problem:
I need bcp functionality for scripts. Perl modules, such as Sybase:xfer, require ctlib which comes with Sybase Open Client. Talking with Sybase sales
reps is an exercise in futility and hate. They know absolutely nothing about their own products and will... (0 Replies)
If a process already has the entire file locked for read and write using newstruct.l_type = F_WRLCK; what would happen if another process would try to open it in read only mode using open(filename, O_RDONLY); ?
I want to check if the file exists and I want it to work even if another process has... (4 Replies)
Not able to open a file using this code
why not?
use strict;
use warnings;
my $file = "verInfo.txt";
unless(open FILE, $file) {
# Die with error message
# if we can't open it.
die "\nUnable to open $file\n";
}
my $line = <FILE>;
print $line;
close FILE; (7 Replies)
Hi,
I have a menu script written in PERL which calls some shell scripts and displays the return.
I'm having a problem with OPEN. A section of the code is below:
`./scriptlist.ksh 1`;
open OUTPUT, "</home/$SCRIPTUSER/output";
{
local $/ = undef;
$_ =... (2 Replies)
I am opening a text file using open() system call in O_RDONLY mode.
open() returns me a valid handler but also sets errno to 13 i.e. EACCES(Permission denied).
Question is when open() is returning a valid handler then why does it sets the errno?
Should not errno be set only in case of error... (10 Replies)
Hello all, just a quick little part of code i'm writing to check if the file i'm writing too in my automatic process is not being written too manually.
#!/bin/bash
FUSER=$(/sbin/fuser -s /toto.tmp >/dev/null 2>&1)
LSOF=$(/usr/sbin/lsof | grep -q "toto.tmp")
PGREP=$(pgrep -f "toto.tmp" >... (6 Replies)
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT CENTOS
purple
Purple(3) User Contributed Perl Documentation Purple(3)NAME
Purple - Perl extension to the libpurple instant messenger library.
SYNOPSIS
use Purple;
ABSTRACT
This module provides the interface for using perl scripts as plugins
in libpurple.
DESCRIPTION
This module provides the interface for using perl scripts as plugins in Purple. With this, developers can write perl scripts that can be
loaded in Purple as plugins. The scripts can interact with IMs, chats, accounts, the buddy list, libpurple signals, and more.
The API for the perl interface is very similar to that of the Purple C API, which can be viewed at http://developer.pidgin.im/doxygen/ or
in the header files in the Purple source tree.
FUNCTIONS
@accounts = Purple::accounts
Returns a list of all accounts, online or offline.
@chats = Purple::chats
Returns a list of all chats currently open.
@connections = Purple::connections
Returns a list of all active connections.
@conversations = Purple::conversations
Returns a list of all conversations, both IM and chat, currently open.
@conv_windows = Purple::conv_windows
Returns a list of all conversation windows currently open.
@ims = Purple::ims
Returns a list of all instant messages currently open.
SEE ALSO
Purple C API documentation - http://developer.pidgin.im/doxygen/
Purple website - http://pidgin.im/
AUTHOR
Christian Hammond, <chipx86@gnupdate.org>
COPYRIGHT AND LICENSE
Copyright 2003 by Christian Hammond
This library is free software; you can redistribute it and/or modify it under the terms of the General Public License (GPL). For more
information, see http://www.fsf.org/licenses/gpl.txt
perl v5.16.3 2013-02-11 Purple(3)