Sponsored Content
Top Forums Shell Programming and Scripting Setting up env variable in ksh Post 302778475 by RudiC on Monday 11th of March 2013 04:44:20 AM
Old 03-11-2013
Oh, you prefer leaving the line counting up to us. Where is line 35?
 

10 More Discussions You Might Find Interesting

1. Solaris

setting env

I am trying to set up my compiler, but when I go to look for gcc it not found but I get a message that stayed (/usr/oasys/bin) and when I go into the dir to set my env the following is type cp : cannot creat //pref/.environ: no such file or directory and I input ./setenv PATH=... (3 Replies)
Discussion started by: alsande
3 Replies

2. Shell Programming and Scripting

Some env setting is causing the script not to work ?

Not sure what has changed in the Unix environment. The following script which was working is now not working. #!/usr/bin/ksh # ----------------------------------------------------------------------------- # File: monitor_db.sh # #... (1 Reply)
Discussion started by: uuser
1 Replies

3. AIX

edit env. setting

hi eveybody, i m trying to set acl using acledit command in AIX box but wat im gettung is 3002-100 acledit: EDITOR environment variable not set can anyone help me out how 2 set editor.................... thanks in advance (4 Replies)
Discussion started by: rrlog
4 Replies

4. Red Hat

Help with csh env setting in Fedora 8

Hi there, How can I change bash to csh when starting a terminal, and set some aliases for csh? I can't find such files like .cshrc in my home directory. Thanks a lot (1 Reply)
Discussion started by: dustinwang2003
1 Replies

5. Shell Programming and Scripting

setting ksh environmental variable

Hi, I have problem setting up environmental variables. The idea is to start with main.ksh script that will run setting.ksh, and in side of it I'll set up variables. Please take a look at my code, and help me to find my mistake. Thanks, Mila Main.ksh look like this: #!/usr/bin/ksh #... (2 Replies)
Discussion started by: mefquik
2 Replies

6. UNIX for Dummies Questions & Answers

Setting env variables using script

Hi, I wrote two small scripts to set env variables in a shell. java_env.csh #!/bin/csh -fn setenv JAVA_HOME '/scratch/software/jdk1.5.0_11' setenv PATH $PATH':'$JAVA_HOME'/bin' and run it using csh ./java_env.csh But the env variables are not set. I tried running each line on the... (5 Replies)
Discussion started by: NoviceAmod
5 Replies

7. Shell Programming and Scripting

Setting Variable in TCL to be understood by KSH Shell

Hi , I am having one TCL TK script , I am setting some variables in the GUI TK interface set DI 1 set MODELS_PATH /a/d/path but I want to make ksh shell understand the variables when I am running TK script I tried to do like this set a but it is not working ... (1 Reply)
Discussion started by: kshitij
1 Replies

8. Shell Programming and Scripting

Setting a variable in a while loop (.ksh script)

Hello Everyone, I'm still trying to grasp many concepts in .ksh scripting, one of them being variables inside loops. My problem is the following: * I'm trying to set a variable inside a while read loop to reuse it outside of said loop. My lines are the following :... (13 Replies)
Discussion started by: jimmy75_13
13 Replies

9. Web Development

Deny from env=env-variable Does not work

(Above from Apache docs). On my system, using: SetEnvIf User-Agent Mozilla IsBad=1 Order allow,deny Allow from all Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies

10. Shell Programming and Scripting

Setting ENV variables in PERL

I have perl script and in the first line we are invoking .sh script to set ENV variables. e..g eval '. $envfile; exec $PERL -S $0 "$@"' I want to change some of the env variables while the program is running and I am settging it like this .. $ENV{ORACLE_HOME}=trim($oraclehome);... (1 Reply)
Discussion started by: talashil
1 Replies
ecattominc(1)															     ecattominc(1)

NAME
ecattominc - convert an ecat format file (version 6.x or 7.x) to a minc format file SYNOPSIS
ecattominc [<options>] <infile> <outfile.mnc> ecattominc [-help] DESCRIPTION
ecattominc will convert an ecat data file (version 6.x or 7.x) to a minc file format Unless the -small_header option is specified, ecattom- inc will conserve the maximum informations from the ecat header and subheader fields which will be respectively stored as attributes of the ecat-main and ecat-subhdr minc variables. By default the whole 3D or 4D volume is converted, however, ecattominc allows for the selection of slice and frame ranges to be copied. The voxel values of the generated minc file are decay corrected, unless the nodecay_correct flag is specified. Finally, blood data file can be inserted within the minc file with the -bloodfile option. OPTIONS
Note that options can be specified in abbreviated form (as long as they are unique) and can be given anywhere on the command line. General options -byte: Write out data as bytes (default). -short: Write out data as short integers. -clobber: Overwrite existing file. -noclobber: Don't overwrite existing file (default). -verbose: List files as they are converted (default) -quiet: Do not list files as they are converted. Command specific options -decay_correct: Do decay correction on images (default). -nodecay_correct: Don't do decay correction. -slices:Range of slices to copy (counting from 0). Default value: -2147483648 -2147483648 -frames: Range of frames to copy (counting from 0). Default value: -2147483648 -2147483648 -frame: Single frame to copy (counting from 0). Default value: -2147483648 -small_header: Copy only basic header information. -all_header: Copy all header information (default). -bloodfile: Insert blood data from this file. Generic options for all commands -help: Print summary of command-line options and abort KNOWN BUGS
No bug listed so far :=) SEE ALSO
minctoecat(1), rawtominc(1), minctoraw(1), dicomtominc(1) AUTHOR
Peter Neelin and Anthonin Reilhac (anthonin.reilhac@cermep.fr) COPYRIGHTS
Copyrights 2005 by Peter Neelin ecattominc(1)
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy