02-26-2014
Microsoft Word (often used inside Outlook) may be autocorrecting.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
Can somebody please offer some advice. I'm working on a small script to list all packages on the local and remote systems and need it in the following format.
Machine Name, Package, Version
Here is what i have so far but i can't seem to get the output of the hostname to loop to... (3 Replies)
Discussion started by: liketheshell
3 Replies
2. Shell Programming and Scripting
Hi everyone.
I've got this fille...
0
5000001
5000002
5000003
5000006
5000007
5000219
11000156
11003130
11003132and this script...
#!/bin/ksh
FILE_ALERT_CONTACT_LIST=users.txt
userID=`awk -F"=" '{printf $1 ", "}' $FILE_ALERT_CONTACT_LIST` (9 Replies)
Discussion started by: Fatbob
9 Replies
3. Shell Programming and Scripting
Dear readers,
I have a script that counts the number of files in particular directories in my home location and displays the output. Now I have 13 directories in my home location. I am getting the output as :
Avishek_dir 13
Kunal_dir 17
Shantanu_dir 18
Arup_dir 12
Pranabesh_dir 19
.
.... (7 Replies)
Discussion started by: avishek007
7 Replies
4. Shell Programming and Scripting
# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
How would i write a script to display permission on each folders in $PATH variable below format.
drwxr-xr-x 2 0 root 4096 Nov 24 14:51 /usr/kerberos/sbin
drwxr-xr-x 2 0... (2 Replies)
Discussion started by: pinga123
2 Replies
5. Windows & DOS: Issues & Discussions
Hi,
Not a shell scripting question ,but searched a lot over google ..but no success.
How do put codes in outlook 2007 mail messages in good manner like the code tags option while posting in this forum :). Apologies if the question is very irrelevant or the solution is very simple.
Regds,... (1 Reply)
Discussion started by: kunwar
1 Replies
6. Shell Programming and Scripting
Hi;
i m running an command like;
getfacl $(find /home/fstl/testShell/ -type f -ls | awk '{print $11}')
and i m getting outpiut for all files in "testShell" folder as;
# file: home/fstl/testShell/.script1.sh.swp
# owner: root
# group: root
user:fstl:rw-
user:ajay:rw-
group:root:r--... (1 Reply)
Discussion started by: ajaypadvi
1 Replies
7. Shell Programming and Scripting
I'm looking for a way to neaten up the out put of an ldapquery. I might get one, none, or several returns for each query; and each query consists of multiple lines. And while each return will contain the same types of info, it might be in a different order, like:
uniq: 1
ip: 192.168.2.3... (3 Replies)
Discussion started by: jnojr
3 Replies
8. Shell Programming and Scripting
Hi there. I have a very large file and I am trying to format it so that I can pull out certain pieces of data/info and report it in spreadsheet format/style.
The file has ###### which will separate each line that will be listed in the spreadsheet. Whenever I find "No" at the end of a line I want... (7 Replies)
Discussion started by: kieranfoley
7 Replies
9. Shell Programming and Scripting
:oi was trying to write a script to format output of a command in ksh which has output as below:
so i used :
to get
which i require at all times. But problem occurs when status part changes. above output i get when status is SU (success).If the status is IN (inactive), output of... (1 Reply)
Discussion started by: pr5439
1 Replies
10. Shell Programming and Scripting
I have a file like this :
! 1 ! 542255 ! 50,140.00 !
! 2 ! 551717 ! 5,805.00 !
! 3 ! 551763 ! 8,130.00 !
! 4 ! 551779 ! 750.00 !
! 5 ! 551810 ! 56,580.00 !
! 6 ! 551816 ! 1,350.00 !
! 7 ! 551876 ! 360.00 !
! 8 ! 551898 ! ... (10 Replies)
Discussion started by: adam1969in
10 Replies
LEARN ABOUT OSX
ppi::token::word
PPI::Token::Word(3) User Contributed Perl Documentation PPI::Token::Word(3)
NAME
PPI::Token::Word - The generic "word" Token
INHERITANCE
PPI::Token::Word
isa PPI::Token
isa PPI::Element
DESCRIPTION
A "PPI::Token::Word" object is a PPI-specific representation of several different types of word-like things, and is one of the most common
Token classes found in typical documents.
Specifically, it includes not only barewords, but also any other valid Perl identifier including non-operator keywords and core functions,
and any include "::" separators inside it, as long as it fits the format of a class, function, etc.
METHODS
There are no methods available for "PPI::Token::Word" beyond those provided by its PPI::Token and PPI::Element parent classes.
We expect to add additional methods to help further resolve a Word as a function, method, etc over time. If you need such a thing right
now, look at Perl::Critic::Utils.
literal
Returns the value of the Word as a string. This assumes (often incorrectly) that the Word is a bareword and not a function, method,
keyword, etc. This differs from "content" because "Foo'Bar" expands to "Foo::Bar".
method_call
Answers whether this is the name of a method in a method call. Returns true if yes, false if no, and nothing if unknown.
TO DO
- Add "function", "method" etc detector methods
SUPPORT
See the support section in the main module.
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.16.2 2011-02-25 PPI::Token::Word(3)