09-15-2019
Yeah, i know, i'm already apologized for that trash post. It's actually not my script, but i'm really need that script fixed for software that i need for study. So u have no idea why does the error appear?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i am facing an error in the following script in the korn shell but in bash it is working , can any help me to convert the below script to korn shell script without errors.
echo 123.4566 | bc -l | awk -F '.' '{ print $1; exit; }'
Thanks in advance
kamal (5 Replies)
Discussion started by: G.K.K
5 Replies
2. Shell Programming and Scripting
Here is what I am trying to do:
I have a list of numbers that I pulled from an awk command in a column like so:
1
3
4
7
8
I want to find which numbers in the list are missing out of a range. So let's say I want to find out from the list above which numbers are missing from the... (6 Replies)
Discussion started by: afavis
6 Replies
3. Shell Programming and Scripting
Ok, i've been messing around in debian the past few days, setting up programs like subversion, mysql and logrotate. The purpose of this script is to use subversion to backup the binary logs. It runs in the cron every 2 hours or so (although I can't get my script to run properly atm, which is why... (1 Reply)
Discussion started by: cganly
1 Replies
4. Shell Programming and Scripting
Hi
Thanks for this amazing forum first, I've been searching answers in it for problems that I've encountered at work.
The only problem I haven't been able to find a fix for, is a ever waiting for prompt problem in Expect when encounter a $ prompt.
I usually set the timeout to -1 cause the... (2 Replies)
Discussion started by: Ikaro0
2 Replies
5. Shell Programming and Scripting
The below script gives error: Missing ]
#!/bin/csh
set MAX=15
set PATTERN='dtsession'
set NUM=`ps -eaf | grep -c $PATTERN`
echo "No of dtsession = "$NUM
if
then
echo 'Quota exceeded permissible limit'
echo 'sending mail...............'
mail hiten.r.chauhan@gmail.com<<EOF
... (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies
6. Shell Programming and Scripting
here is a small script I wrote:
#! /bin/bash
if ]
then
echo "argument is null"
fi
It is giving error:
test.sh:
any idea, why is it so? (2 Replies)
Discussion started by: vina201unx2011
2 Replies
7. Shell Programming and Scripting
Hi,
While running below code i am getting error as below
0403-004 Specify a parameter with this command.
Please look it below code and let me know about if condition.
Code is As below
#!/usr/bin/ksh
Infa_Src_Dir=$DIR/SrcFiles/pp
Load_Info_Lst_Path=$DIR/SrcFiles/pp... (1 Reply)
Discussion started by: samadhanpatil
1 Replies
8. Shell Programming and Scripting
Can somebody tell me the difference between double brackets and single
brackets, when doing a test.
I have always been acustomed to using single brackets and have not
encountered any issues to date. Why would somebody use double brackets.
Ie
if ]
vs
if
Thanks to... (2 Replies)
Discussion started by: BeefStu
2 Replies
9. Red Hat
Hi Guys :)
while trying to set the paths for Oracle, sqlplus etc. I have been trying to find dot files (.profile or .kshrc or .bashrc or .cshrc or .login or .bash_profile or similar files) to append new paths so that I can connect to oracle from a shell script (RedHat 6.3 with KSH shell). But I... (6 Replies)
Discussion started by: Pradeep Jangra
6 Replies
10. UNIX for Beginners Questions & Answers
Dear Friends,
Regarding Compilation error character is missing-unix shell script
I am new to unix shell script.
My requirement is --I need to find out 3 files in my UBM unix directory,if any one(CMUSER) file is available means,then i need to exit from my unix script,
Below is my unix... (2 Replies)
Discussion started by: Joseph2017
2 Replies
LEARN ABOUT DEBIAN
code_saturne
CODE_SATURNE(1) Code_Saturne commands CODE_SATURNE(1)
NAME
code_saturne - Main user script of Code_Saturne.
SYNOPSIS
code_saturne [-h|--help] <command>
DESCRIPTION
The code_saturne script is the main user script of Code_Saturne.
OPTIONS
-h, --help
Help message.
COMMANDS
Further information will be obtain with code_saturne <command> --help
check_consistency
The code_saturne check_consistency command checks the consistency between the user files and the Xml file (from the Graphical User
Interface) provided by the user and, if needed, that the chosen options are compatible with parallel calculations. Lastly, it prints
the chosen specific physics.
check_mesh
The code_saturne check_mesh command verify the quality of a given mesh. The following options will be passed to Code_Saturne pre-
processor.
compile
The code_saturne compile command can be used to generate the cs_solver executable needed for running a Code_Saturne study.
create The code_saturne create command sets up a directory structure for a Code_Saturne study or case. The different directories created
are MESH for meshes, POST for user post-processing and a case directory (or several) containing a DATA, SRC (to store user files),
RESU (to store results) and SCRIPTS directory.
info The code_saturne info command is a wrapper for an easier look at Code_Saturne documentation.
SEE ALSO
cs_io_dump(1), cs_partition(1), cs_preprocess(1), cs_solver(1)
2009-10-27 CODE_SATURNE(1)