Sponsored Content
Full Discussion: Repeat using for loop
Top Forums Shell Programming and Scripting Repeat using for loop Post 302563680 by LavanyaP on Wednesday 12th of October 2011 01:46:44 AM
Old 10-12-2011
I need the same set of data for all the n numbers

eg :
2011-10-10 10:46:00,1-1-13-1-1,151510,ALCLA0A84D2C
2011-10-10 10:46:00,1-1-13-1-1,151520,65537
2011-10-10 10:46:00,1-1-13-1-1,151515,46932
2011-10-10 10:46:00,1-1-13-1-1,151521,32769

2011-10-10 10:46:00,1-1-13-1-2,151510,ALCLA0A84D2C
2011-10-10 10:46:00,1-1-13-1-2,151520,65537
2011-10-10 10:46:00,1-1-13-1-2,151515,46932
2011-10-10 10:46:00,1-1-13-1-2,151521,32769

2011-10-10 10:46:00,1-1-13-1-3,151510,ALCLA0A84D2C
2011-10-10 10:46:00,1-1-13-1-3,151520,65537
2011-10-10 10:46:00,1-1-13-1-3,151515,46932
2011-10-10 10:46:00,1-1-13-1-3,151521,32769
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Repeat a command in a shell

Hi there, i would like to repeat a command in a shell sript (bash) the script starts with a menu to choose a menu point to do something .... on the end of the script i would like to restart the programm to choose the menu points on the beginning. I would also make a sript that send... (2 Replies)
Discussion started by: scotty
2 Replies

2. UNIX for Dummies Questions & Answers

any idea to repeat a action in VI

Any idea to repeat an action to all the lines in vi... suppose i want to delete the first word from all the lines in VI .. how would i do it ? in general i am also looking for a way to apply a action to all the lines in VI . (6 Replies)
Discussion started by: myelvis
6 Replies

3. UNIX for Dummies Questions & Answers

Repeat Commands

On my system I use Escape "k" to go back in commands. I read on tutorials that it is ctrl p, but that does not work on my system. Anyone know what the command to go foward is? (6 Replies)
Discussion started by: dereckbc
6 Replies

4. Shell Programming and Scripting

to copy and repeat

Hi All, I have done some looking at other threads but haven't found quite what I am looking for. I am a newbie to scripting and haven't got to where I want to you but here is my basic question. I have a script to copy a file and send it to another file with a date and time stamp. What I want to... (4 Replies)
Discussion started by: falcondown01
4 Replies

5. UNIX for Dummies Questions & Answers

repeat each record n times

I have: aa01 aa02 aa03 aa04 ab01 ab02 ab03 ab04 I would like each record printed 5 times: aa01 aa01 aa01 aa01 aa01 aa02 aa02 (6 Replies)
Discussion started by: kenneth.mcbride
6 Replies

6. Shell Programming and Scripting

case loop... repeat on bad input?

I'm trying to get a case statement to start over if an undefined option is selected... But I am ata loss on how to actually do it. Here is a quick example of what I have. Echo "1) do this/n 2) Do that/n 3) Quit/n Make a selection/n" Read answer Case answer in 1) Dothid;; 2) Dothat;;... (3 Replies)
Discussion started by: trey85stang
3 Replies

7. Shell Programming and Scripting

Ping and repeat ?

How do i write a loop ping to see if it get timeout or hang ? it should loop every 30 second to ping a server ? ping -c 5 -t 15 www.google.com if ]; then date '+%Y-%m-%d %H:%M:%S Connection Unavailable' >> /home/sabercats/checkconnection.log else date '+%Y-%m-%d %H:%M:%S Connection... (3 Replies)
Discussion started by: sabercats
3 Replies

8. Homework & Coursework Questions

How to use loop to repeat task?

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. How can i use loop to repeat task. 2.shirt=15 black=13.50 echo "how many shirt you want" read num echo echo "Please enter a choice" echo "1 ---> normal... (5 Replies)
Discussion started by: Tauatioti
5 Replies

9. Shell Programming and Scripting

Repeat for different variable

Hey, I've created following script: var1=test1 setA=testA if ... touch $setA/$var1 ... fi I would like now the repeat the command touch (in this example) for different variables. So below, the varX should run 3 times (var1, var2, var4). Var3 is skipped in this example... (4 Replies)
Discussion started by: brononius
4 Replies

10. Homework & Coursework Questions

How to use xargs to repeat as a loop to grab date string?

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: My goal to find how many requests in 14 days from weblog server. I know to cat a weblog file to wc -l to find the... (8 Replies)
Discussion started by: scopiop
8 Replies
PROFNET(1)							   User Commands							PROFNET(1)

NAME
profnet_* - neural network implementations in Fortran SYNOPSIS
profnet_* [OPTION|filePar] DESCRIPTION
profnet_* binaries are neural network implementations in Fortran. Due to the original design of the code, a specific binary is compiled for each particular network architecture, changing certain constants in the source code. Therefore, there is a binary for every network architecture used. Note: certain array structures are intentionally indexed out of bounds in some of the binaries. Note: This binary should only be used to run with pre-made training data, do not try to use it to train your network as it will produce undesired results. It was made to be used only as part of wrapping (dependent) packages and not as a standalone neural network program. OPTIONS
This list is not exhaustive. filePar file with input parameters (also gives fileIn, fileOut) 1 "switch" 2 number of input units 3 number of hidden units 4 number of output units 5 number of samples 6 bitacc (typically 100) 7 file with input vectors 8 file with junctions 9 file with output of NN ("none" -> no file written) 10 optional=dbg [inter] will bring up dialog NOTES
1st MUST be "switch"! tested only with 2 layers! AUTHOR
Burkhard Rost <rost@rostlab.org> Bug fixes and enhancements by Laszlo Kajan <lkajan@rostlab.org> and Guy Yachdav <gyachdav@rostlab.org> COPYRIGHT AND LICENSE
Copyright 1998-2011 by Burkhard Rost <rost@rostlab.org> EMBL, CUBIC (Columbia University, NY, USA) and LION Biosciences (Heidelberg, DE) Copyright 2009-2011 by Laszlo Kajan <lkajan@rostlab.org> Technical University Munich (Munich, DE) Copyright 2009-2011 by Guy Yachdav <gyachdav@rostlab.org> CUBIC (Columbia University, NY, USA) and Technical University Munich (Munich, DE) 1.0.21- 2011-06-16 PROFNET(1)
All times are GMT -4. The time now is 11:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy