Sponsored Content
Top Forums Shell Programming and Scripting Trying to use 'compound variable' in a script Post 46447 by neemic on Friday 16th of January 2004 06:07:32 AM
Old 01-16-2004
Ygor, Tine,

Thanks very much for the help - and thanks for not laughing!

:-)

Cheers,
neemic
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

compound expression in unix

I am using the code below to write a command to launch a script only if the number of users on the system is less than 10. The code below isn't working. Any suggestions? HELP.. if && ; then frizzle ; fi (3 Replies)
Discussion started by: spalmer
3 Replies

2. Shell Programming and Scripting

Trying to use 'compound variable' in a script

Erase the space in assigment operator. array_var=`expr $base_val + $x` (1 Reply)
Discussion started by: irina
1 Replies

3. UNIX for Advanced & Expert Users

Compound indirect variable references

Using bash, I'm trying to read a .properties file (name=value pairs), assigning an indirect variable reference for each line in the file. The trick is that a property's value string may contain the name of a property that occurred earlier in the file, and I want the name of the 1st property to... (5 Replies)
Discussion started by: tkrussel
5 Replies

4. Shell Programming and Scripting

Compound command with 'find' utility?

I'm trying to write a script using the 'find' command and it's -exec option to run a compound command against the files found. Example: find . -name "*.conf" -exec cat {} | grep "#" > /tmp/comments.list \; Of course the above doesn't work. So I experimented for a bit to see if there was... (6 Replies)
Discussion started by: deckard
6 Replies

5. Shell Programming and Scripting

awk compound statements

how can i use two or multiple statements in the if part of an awk code for example i want to check two flag if they are true i will write some print operations and increase the counter. here is the c version of the code that i want to write: counter=0; if (flag1==1 && flag2==0) {... (7 Replies)
Discussion started by: gfhgfnhhn
7 Replies

6. Shell Programming and Scripting

compound variable in korn shell

in a text " Korn Shell Unix programming Manual 3° Edition" i have found this sintax to declare a compoud variable: variable=( fild1 (0 Replies)
Discussion started by: ZINGARO
0 Replies

7. Shell Programming and Scripting

compound variable in korn shell

in a text " Korn Shell Unix programming Manual 3° Edition" i have found this sintax to declare a compoud variable: variable=( fild1 fild1 ) but this sintax in ksh and sh (HP-UNIX) not work... why?? exist another solution for this type of variable ??? (5 Replies)
Discussion started by: ZINGARO
5 Replies

8. Shell Programming and Scripting

compound Bash if then statement question

I am writing a Bash script that will either clone a database or setup a standby database. So Parameter 2 will be the operation type. If the value is not clone or standby I want to throw an error message. I suppose I can also do a case block. So far i have been unable to get the syntax working... (1 Reply)
Discussion started by: gandolf989
1 Replies

9. Programming

tcl compound condition

Can anyone explain for me why this does not work in tcl: if !{( $a > "" || $b > "" )} { ....... where a and b are string vars. and this works instead: if {!( $a > "" || $b > "" )} { ........ Thanks. (6 Replies)
Discussion started by: gio001
6 Replies

10. Shell Programming and Scripting

Refering to compound variables with a variable name

Hello, Here is my problem using KSH I have a set of compound variables, let say cmp_var1 cmp_var2 The names of these variables are stored in an indexed array. How can I access the subfields of these compound variables ? I tried: set -A cmp_varnames=(cmp_var1 cmp_var2) for cmp in... (4 Replies)
Discussion started by: luky55
4 Replies
Kwiki(3pm)						User Contributed Perl Documentation						Kwiki(3pm)

NAME
Kwiki - The Kwiki Wiki Building Framework KWIKI 2.0 STOP. Don't install this CPAN module! Read this section to find out why... Kwiki-0.38 and the large collection of Kwiki CPAN modules has been relatively stable on CPAN for the last couple years. Being stable also means being undeveloped. In December 2006, the Kwiki community started actively developing Kwiki again. We call the revitalized project Kwiki 2.0. This is not a version number (at least not yet), but a code name for the effort. Some goals of Kwiki 2.0 are: * Make Kwiki easier to install and maintain * Make Kwiki fast * Make Kwiki plugins easier to develop * Make Kwiki more fun We've made a lot of headway on these goals and other goals too. Kwiki is *really* simple to install now. _All_ the Perl dependencies come with Kwiki, and are /preinstalled/. This means you just need Perl 5.8.3 and a web server. Well actually we give you a web server too! NOTE: /Preinstalled/ means that the modules are all linked into a lib tree that is separate from your installed Perl modules. This is good for several reasons: 1) Installing modules takes a lot of time. 2) Kwiki is guaranteed to have module versions that work. 3) Kwiki doesn't change anything about your system's Perl lib. 4) You can delete all the modules by just deleting the Kwiki checkout. 5) Upgrading Kwiki is simple as 'svn update'! 6) You can install Kwiki without root permissions. Also Kwiki is now smoking fast if you use Kwiki::FastCGI. There are also some new caching modules that make Kwiki even faster still. The important part is this: all the new stuff is not yet on CPAN. If you want to install Kwiki, get it from our subversion repository (highly recommended) or tarball downloads. You will be amazed at how simple and fast it is to install the new Kwiki which comes with nearly 500 Perl modules. The longest part is simply checking out the repository. See <http://www.kwiki.org/?InstallingKwiki2> for details. Eventually all this work will make it back to CPAN, but likely not for a while. Here's a list of references for more information: * http://www.kwiki.org - Main Kwiki Site * http://www.kwiki.org/?KwikiNews - Kwiki News * http://svn.kwiki.org/kwiki/trunk/ - Kwiki SVN Repository * http://trac.kwiki.org/trac/timeline - Kwiki Project Management * #kwiki on irc.freenode.net - Kwiki IRC Channel * http://www.kwiki.org/downloads/ - Kwiki downloads * http://doolittle.kwiki.org/ - Kwiki Documentation Wiki Finally, there are generally a good amount of helpful people on IRC. Please drop by sometime! Cheers, Ingy Here's the old Kwiki.pm doc. It might be a little out of date... SYNOPSIS
> kwiki -new cgi-bin/my-kwiki Kwiki software installed! Point your browser at this location. NOTE
If you are impatient (don't worry, that's a good thing!) read Kwiki::Command to get the details on how to install and configure a new Kwiki wiki in record time. DESCRIPTION
A Wiki is a website that allows its users to add pages, and edit any existing pages. It is one of the most popular forms of web collaboration. If you are new to wiki, visit http://c2.com/cgi/wiki?WelcomeVisitors which is possibly the oldest wiki, and has lots of information about how wikis work. Kwiki is a Perl wiki implementation based on the Spoon application architecture and using the Spiffy object orientation model. The major goals of Kwiki are that it be easy to install, maintain and extend. All the features of a Kwiki wiki come from plugin modules. The base installation comes with the bare minimum plugins to make a working Kwiki. To make a really nice Kwiki installation you need to install additional plugins. Which plugins you pick is entirely up to you. Another goal of Kwiki is that every installation will be unique. When there are hundreds of plugins available, this will hopefully be the case. CGI
::Kwiki Kwiki is the successor of the popular CGI::Kwiki software. It is a complete refactoring of that code. The new code has a lovely plugin API and is much cleaner and extendable on all fronts. There is currently no automated way to upgrade a CGI::Kwiki installation to Kwiki. It's actually quite easy to do by hand. Instructions on how to do it are here: http://www.kwiki.org/?KwikiMigrationByHand DOCUMENTATION
All of the future Kwiki module documentation is being written at the http://doc.kwiki.org/ wiki. Check there for the latest doc, and help improve it. Each successive release of Kwiki will include the latest doc from that site. CREDITS
I am currently employed by Socialtext, Inc. They make high quality social software for enterprise deployment. Socialtext has a bold new vision of building their products over Open Source software and returning the generic source code to the community. This results in a win/win effect for both entities. You get this shiny new wiki framework, and Socialtext can take advantage of your plugins and bug fixes. The Kwiki project would not be where it is now without their support. I thank them. Of particular note, Dave Rolsky and Chris Dent are two current Socialtext employees that have made significant contributions to Kwiki. --- Iain Truskett was probably the most active Kwiki community hacker before his untimely death in December 2003. The underlying foundation of Kwiki has been named "Spoon" in his honor. Rest in peace Spoon. --- Ian (what's with all these Iai?ns??) Langworth has become a new Kwiki warrior. He helped a lot with the maiden release. Expect a lot of plugins to come from him! Thanks Ian. --- Finally, big props to all the folks on http://www.kwiki.org and irc://irc.freenode.net/#kwiki. Thanks for all the support! SEE ALSO
Kwiki::Command AUTHOR
Ingy dA~Xt Net <ingy@cpan.org> COPYRIGHT
Copyright (c) 2004. Brian Ingerson. All rights reserved. Copyright (c) 2007. Ingy dA~Xt Net. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.12.4 2007-03-06 Kwiki(3pm)
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy