Sponsored Content
Top Forums Shell Programming and Scripting PHP parametric + bash script combination Post 303000216 by baris35 on Thursday 6th of July 2017 11:45:31 AM
Old 07-06-2017
Hello Corona,
Many thanks
Works fine.

Kind regards
Boris
This User Gave Thanks to baris35 For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Combination backup/VI script

I was needing a script that basically covers my butt, lol. I have the nasty habit of making many changes without backing up files, and then after a ton of changes, if I have to go back to the original version, it makes it harder to go back. Now, I have a script that takes a file, renames it to... (3 Replies)
Discussion started by: cbo0485
3 Replies

2. Shell Programming and Scripting

Combination of case and If else in shell script

Would it be right forme to combine case statement and if else in one shell script? Would it work? (2 Replies)
Discussion started by: Pauline mugisha
2 Replies

3. Shell Programming and Scripting

awk - getline from parametric file name

Hi! I have an input file for an awk script that I need to split into several files and the process them separately line by line. I have splitted the input file into the other files, that have been created correctly. But, since their names are parametric (i.e. output_1.txt, output_2.txt..... (2 Replies)
Discussion started by: Alice236
2 Replies

4. Shell Programming and Scripting

bash script + php

Hello, I want to move some of my bash scripts to php ( add samba user, add new PC in dhcp and etc. ).With Google, I found some articles for bash and php, but there is only simple examples, nothing for variables. Example: #!/bin/bash status=`/usr/local/etc/rc.d/isc-dhcpd status` ############... (1 Reply)
Discussion started by: mrowcp
1 Replies

5. UNIX for Dummies Questions & Answers

Integrating bash script into php (page)

I have written a bash script...now i need to call the script from php page. Can you give me an example to demonstrate how it is done?:( (1 Reply)
Discussion started by: xerox
1 Replies

6. Shell Programming and Scripting

Detecting key combination in bash

I need to grab key combination from a bash script and store it in a variable. Is there any way to do this? Thanks in advance! (1 Reply)
Discussion started by: prism1
1 Replies

7. Shell Programming and Scripting

Select combination unique using shell script

Hi All, bash-3.00$ gzgrep -i '\ ExecuteThread:' /******/******/******/******/stdout.log.txt.gz <Jan 7, 2012 5:54:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> < ExecuteThread: '414' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "696" seconds working on the request... (4 Replies)
Discussion started by: osmanux
4 Replies

8. Shell Programming and Scripting

Arbitrary permutation and combination script

#!/bin/bash # permutation_combination.sh # Version: 2.0 # Author : YongYe <complex.invoke@gmail.com> arg0=-1 argv=${3} number=${2} eval ary=({1..${1}}) length=${#ary} percom(){ nsloop i ${1} number${2} ${3} ${4} ${5}; } invoke(){ echo $(percom ${argu} nsloop -1) prtcom $(percom... (1 Reply)
Discussion started by: complex.invoke
1 Replies

9. Shell Programming and Scripting

Basic Combination Shell Script

I need to have a script read a file that has a list of words in a single column like below:Black Blue Brown Orange Red Yellow Green White Purple Silver Grey Tan Then print to another file just all of the two-word possible combinations. Example: Black,Blue Anyone want to take a... (4 Replies)
Discussion started by: vespasian
4 Replies

10. Web Development

Passing variable from PHP to bash script

I am totally new to PHP and I am trying to create a script that will as a user for a hostname and then use the "hostname" variable to generate a report using REST API. I am able to create the html script and php script to GET the "hostname" but I am having trouble passing the hostname variable... (10 Replies)
Discussion started by: kieranfoley
10 Replies
TFBS::PatternI(3pm)					User Contributed Perl Documentation				       TFBS::PatternI(3pm)

NAME
TFBS::PatternI - interface definition for all pattern objects (currently includes matrices and word (consensus and regular expressions ) DESCRIPTION
TFBS::PatternI is a draft class that should contain general interface for matrix and other (future) pattern objects. It is not defined and not used yet, as I need to ponder over certain unresolved issues in general pattern definition. User feedback is more than welcome. FEEDBACK
Please send bug reports and other comments to the author. AUTHOR - Boris Lenhard Boris Lenhard <Boris.Lenhard@cgb.ki.se> APPENDIX
The rest of the documentation details each of the object methods. Internal methods are preceded with an underscore. ID Title : ID Usage : my $ID = $icm->ID() $pfm->ID('M00119'); Function: Get/set on the ID of the pattern (unique in a DB or a set) Returns : pattern ID (a string) Args : none for get, string for set name Title : name Usage : my $name = $pwm->name() $pfm->name('PPARgamma'); Function: Get/set on the name of the pattern Returns : pattern name (a string) Args : none for get, string for set class Title : class Usage : my $class = $pwm->class() $pfm->class('forkhead'); Function: Get/set on the structural class of the pattern Returns : class name (a string) Args : none for get, string for set tag Title : tag Usage : my $acc = $pwm->tag('acc') $pfm->tag(source => "Gibbs"); Function: Get/set on the structural class of the pattern Returns : tag value (a scalar/reference) Args : tag name (string) for get, tag name (string) and value (any scalar/reference) for set all_tags Title : all_tags Usage : my %tag = $pfm->all_tags(); Function: get a hash of all tags for a matrix Returns : a hash of all tag values keyed by tag name Args : none delete_tag Title : delete_tag Usage : $pfm->delete_tag('score'); Function: get a hash of all tags for a matrix Returns : nothing Args : a string (tag name) perl v5.14.2 2008-01-24 TFBS::PatternI(3pm)
All times are GMT -4. The time now is 01:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy