Hi ..
I have a dynamic script called from a programming language called Powerhouse (4GL).
The module, called QUIZ, allows the user to call shell commands from within it...
i.e.
!rm -f mipss156t2cmd1.bat mipss156t2tmp1.txt
!printf '#!/bin/csh\n' > mipss156t2cmd1.bat
!printf 'setenv... (0 Replies)
Hello all
i need to pass to my shell script parameter that looks like "2 3 3"
inside the script i need to use this string that looks like this "2 3 3"
but when i try to print the script im getting syntax error , this is my script :
set s = $1
echo $s (1 Reply)
I am new to scripting and I needed to know if there would be an easy way to delete extra spaces in a text file. I have a file with three rows with 22 numbers each, but there is extra spaces between the numbers when it gets output by this program AFNI that I am using. What script would help delete... (2 Replies)
Anyone knows what is the max limit of number of environment variables in Csh? I have a script that when run causes the shell to stop responding to any command like:
ls
/bin/ls: Argument list too long.
And I guess the reason is I passed the max limit for number of environment variables... (1 Reply)
my working shell is csh and even though if I try to run my script in plain sh, it behaves the same way. Here's a simple script:
#!/bin/sh
desc='"test my changes"'
cmd="echo \"$desc\""
$cmd
I want $desc to be passed as an argument to another command, but csh apparently doesn't like spaces in... (5 Replies)
Hi,
I am having a primary script which is Bash based. I am calling a csh script from it.
Now, their are some variables defined in my bash script which i need in csh.
I am unable to do so. Is it possible ? (2 Replies)
Hi Guys,
I have a a bash script and i am exporting a variable in it.
I am calling a csh script from this bash script.
The variable "ABC" will be visible in csh script.
ks.bash
export ABC = abc
./kp.csh
ab.csh
echo $ABC
setenv ABC =cde (i want to assign this value to ABC only if... (4 Replies)
Hello,
I have a text file (say, declarevars.txt) that contains multiple lines that are essentially meant to be variable declarations:
set arr1 = (var1a var1b var1c)
set arr2 = (var2a var2b var2c)
.
.
.
I want to be able to read this text file within a csh (sorry) script and have that... (2 Replies)
The variables given are already defined ($file1-$file3, $obsid1-$obsid3, and $n=3). When I go to run the code, the terminal outputs "Missing }." I believe the error is with the nesting of variables. It would save a lot of time getting this while loop working.
set i = 1
while (${i} <=... (5 Replies)
Discussion started by: ojdefdidit
5 Replies
LEARN ABOUT OSX
cpan::meta::check
CPAN::Meta::Check(3) User Contributed Perl Documentation CPAN::Meta::Check(3)NAME
CPAN::Meta::Check - Verify requirements in a CPAN::Meta object
VERSION
version 0.004
SYNOPSIS
warn "$_
" for verify_requirements($meta, [qw/runtime build test/], 'requires');
DESCRIPTION
This module verifies if requirements described in a CPAN::Meta object are present.
FUNCTIONS
check_requirements($reqs, $type)
This function checks if all dependencies in $reqs (a CPAN::Meta::Requirements object) are met, taking into account that 'conflicts'
dependencies have to be checked in reverse. It returns a hash with the modules as values and any problems as keys, the value for a
succesfully found module will be undef.
verify_dependencies($meta, $phases, $types, $incdirs)
Check all requirements in $meta for phases $phases and types $types. Modules are searched for in @$incdirs, defaulting to @INC.
requirements_for($meta, $phases, $types, incdirs)
This function returns a unified CPAN::Meta::Requirements object for all $type requirements for $phases. $phases may be either one (scalar)
value or an arrayref of valid values as defined by the CPAN::Meta spec. $type must be a a relationship as defined by the same spec. Modules
are searched for in @$incdirs, defaulting to @INC.
SEE ALSO
o Test::CheckDeps
o CPAN::Meta
AUTHOR
Leon Timmermans <leont@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.2 2012-05-24 CPAN::Meta::Check(3)