hi all, i am quite new with Perl (just 1 week of experience) and i am suppose to understand the usage of library, which i can't, anyway...
i came across this library...i think from the linux redhat redhat.linux.lib.pl, there are a couple of functions there that can be used to retrieve information... (3 Replies)
Hello,
I have the following record in a text file, i would like modify some field:
1 - remove all space between ",", but the company name of word will not delete. Anyway, I can use the following statement to do it.
's/^ *//;s/ *, */,/g;s/ *$//' file
2. field #12, I need to modify to time... (11 Replies)
Hello,
Below is my input file's content ( in HP-UX platform ):
ABCD120672-B21 1
ABCD142257-002 1
ABCD142257-003 1
ABCD142257-006 1
From the above, I just want to get the field of 13 characters that comes after 'ABCD' i.e '120672-B21'... . Could... (2 Replies)
Dear all
I have the following problem that want to have your advices.
I want to capture the `ps auxwww | head -30` image with field separator (|) in my script
My expect output
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root | 774 | 18.5 | 0.0 | 12 | 19716 | - |... (5 Replies)
:confused: I have a tab delimited file that I need to extract data from and into a file with specific field specs. Each field has to be a certain amount of characters. So, the name field (from delimited file) might have only 15 characters but needs to be 25 (in new file) so I need to insert spaces... (5 Replies)
I'm trying to update a text file via sed/awk, after a lot of searching I still can't find a code snippet that I can get to work.
Brief overview:
I have user input a line to a variable, I then find a specific value in this line 10th field in this case. After asking for new input and doing some... (14 Replies)
Hi Everyone,
New to the forum, and have my first question.
I have the following Macro currently being used within Telnet to run a report for the date being entered. However, now I need the Macro to input the day after today to the the day after today.
Example: If today is May 9, 2012 - the... (0 Replies)
Hello,
i need help with awk.
I have this file:
cat number
DirB port 67 er_enc_out 0 er_bad_os 0
DirB port 71 er_enc_out 56 er_bad_os 0
DirB port 74 er_enc_out 0 er_bad_os 0
DirB port 75 ... (4 Replies)
hi, i have a file A like this:
******************* No 2823 ********************
contig15205-
G383C4U02H4G80+ is in contig15205-
G383C4U02HGLXM- is in contig15205-
G383C4U01C3HIZ+ is in contig15205-
... (3 Replies)
In a particular directory, there can be 1000 files like below.
filename is job901.ksh
#!/bin/ksh
cront -x << EOJ
submit file=$PRODPATH/scripts/genReport.sh maxdelay=30
&node=xnode01
tname=job901
&pfile1=/prod/mldata/data/test1.dat
... (17 Replies)
Discussion started by: vedanta
17 Replies
LEARN ABOUT DEBIAN
iceauth
ICEAUTH(1) General Commands Manual ICEAUTH(1)NAME
iceauth - ICE authority file utility
SYNOPSIS
iceauth [ -f authfile ] [ -vqib ] [ command arg ... ]
DESCRIPTION
The iceauth program is used to edit and display the authorization information used in connecting with ICE. This program is usually used to
extract authorization records from one machine and merge them in on another (as is the case when using remote logins or granting access to
other users). Commands (described below) may be entered interactively, on the iceauth command line, or in scripts.
OPTIONS -f authfile Name of the authority file to use. Will default to
the file currently in use by the session.
-v Turns on extra messages (verbose mode)
-q Turns off extra messages (quiet mode)
-i Ignore the locks on the authority file
-b Break the locks on the authority file
-u Print basic usage instructions
USAGE
When iceauth is run it will allow the following set of commands to be entered interactively or in scripts.
?
List available commands.
help
Print help information. You may supply a command name to help to get specific information about it.
info
Print information about the entries in the authority file.
list
List (print) entries in the authority file. You may specify optional modifiers as below to specify which entries are listed.
list [ protocol_name ] [ protocol_data ] [ netid ] [ authname ]
add
Add an entry to the authority file. This must be in the format
add protocol_name protocol_data netid authname authdata
remove
Remove entries from the authority file.
remove [ protocol_name ] [ protocol_data ] [ netid ] [ authname ]
extract
Extract entries from the authority file in to a destination file. You must supply the path to the destination to this command as in the
following format. Optional specifiers allow you to narrow which entries are extracted.
extract filename [ protocol_name ] [ protocol_data ] [ netid ] [ authname ]
merge
Merge entries from other files in to the authority file selected by the program. You may supply any number of file paths to this command as
follows:
merge filename1 [ filename2 ] [ filename3 ] ...
exit
Save changes and exit the program.
quit
Abort changes and exit the program without saving.
source
Read and execute commands from a file.
source filename
AUTHOR
Ralph Mor, X Consortium
X Version 11 iceauth 1.0.5 ICEAUTH(1)