hey sorry, i wrote the description but don't lnow how it got erased.
i have a set of commands inside a text file. 1 command per line.
command.txt
i want to execute these commands one by one and after finishing the last command, again it should start from the 1st command.
infinity.sh
the commands are not getting executed.
I have a command nested in some while loops to parse some data that looks something like this.
while ($condition)
while ($condition)
...
gzcat /dir/$fileName.gz | grep $searchString > out_file
end
end
On the first loop, the command is executed properly (and takes maybe 10... (3 Replies)
Hello,
I have a set of input data that I split into batches using the following command:
split -l 4000000 MyInput.in Split_a
Once I get the split files, I run a certain command on the split files that spews an output. So far I have been doing it without a for loop. How can I translate the... (2 Replies)
in one of my script..I have some thing like
john:christina : one::
and i want to make it like
john:chritina:two:(date command):jackey:
basically change 'one' to 'two' and run date :command and add other name: (30 Replies)
I tried this:
for region in 'raj' 'kt' 'kol' 'krl' 'chn' 'dl' 'hr' 'bih' 'ap'
do
sqlplus -s huw$region/`echo $region`huw#321@huw$region<<!
set serveroutput on
begin
select count(*) from tcd_preferred_cust_201109
end;
/
exit;
done
but the error shows like:
Syntax error at line 4 :... (1 Reply)
I have a below command
ALTER TABLE `abc` ADD PARTITION ( PARTITION 20130613 VALUES less than (DAY('13')));
Below is requirement
It runs in Loop
as DAY start with 13 and end with 100 along with this of counter "20130613" also increases per command
as the next command should be
... (8 Replies)
Hi ,
Please excuse me for opening a new thread i am unable to find out the syntax error
in my if else condition inside for loop in awk command ,
my actual aim is to print formatted html td tag when if condition (True) having string as "failed",
could anyone please advise what is the right... (2 Replies)
Hi ,
I am trying to read a list of hosts from a config file and trying to get file list from that host. For this I have used one while loop.
cat "$ARCHIVE_CFG_FILE" | sed '/^$/d' | sed '/^#/d' | while read ARCHIVE_CFG
do
SOURCE_SERVER_NAME=`echo "$ARCHIVE_CFG" | awk -F '|' '{ print... (2 Replies)
Hi,
i have a source file and have 3 columns and separated by "|" .i want to split this 3 columns in different variable.When i am executing this values indivisually giving correct result but when the same execute inside a for loop,it's giving issues.
Src file(jjj.txt)
-------... (8 Replies)
Discussion started by: raju2016
8 Replies
LEARN ABOUT MOJAVE
fish
fish(1) fish fish(1)NAME
fish - fish - the friendly interactive shell
fish - the friendly interactive shell
Synopsis
fish [-h] [-v] [-c command] [FILE [ARGUMENTS...]]
Description
A commandline shell written mainly with interactive use in mind. The full manual is available in html by using the help command from inside
fish.
o -c or --command=COMMANDS evaluate the specified commands instead of reading from the commandline
o -d or --debug-level=DEBUG_LEVEL specify the verbosity level of fish. A higher number means higher verbosity. The default level is 1.
o -h or --help display help and exit
o -i or --interactive specify that fish is to run in interactive mode
o -l or --login specify that fish is to run as a login shell
o -n or --no-execute do not execute any commands, only perform syntax checking
o -p or --profile=PROFILE_FILE when fish exits, output timing information on all executed commands to the specified file
o -v or --version display version and exit
The fish exit status is generally the exit status of the last foreground command. If fish is exiting because of a parse error, the exit
status is 127.
Version 1.23.1 Sun Jan 8 2012 fish(1)