06-03-2019
Quote:
Originally Posted by
tomato00
Don Cragun,
i need your help more, i want to put one line on your suggestion.
is it possible?
I can put thousands of lines on my suggestion. Is there something in particular that you want the line that you put on my suggestion to do? Or should I just make something up for the fun of it? My crystal ball is a bit cloudy today and I'm not getting a clear view of what you might want it to do.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi folks,
- I have 800 txt files
- those files are cisco router configs
router1.txt
router2.txt
...
router800.txt
I want to accomplish the following:
- I want to have a seperate file with all the filenames that I want to process
- I want a script that goes trough all those... (7 Replies)
Discussion started by: I-1
7 Replies
2. Shell Programming and Scripting
Hi,
I have a file with the following:
access-list.txt
router1
access-list 1 permit any any
access-list 1 deny any any
router2
access-list 2 permit any any
access-list 2 deny any any
router3
access-list 3 permit any any
access-list 3 deny any any
I want to hava an output that... (10 Replies)
Discussion started by: I-1
10 Replies
3. Shell Programming and Scripting
Hi there,
I have a comma seperated file which looks like
16-Jun-08,KLM forwarder,,AMS,DXB,AMS,C,Y,G10,074-02580900,milestone failed - message not received,C,OK,,13/06/2008 00:00,KL427,13/06/2008 00:00,KL427,Rebooked,C,milestone failed - message not received,milestone failed - evented... (3 Replies)
Discussion started by: sickboy
3 Replies
4. Shell Programming and Scripting
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
Discussion started by: srimal
4 Replies
5. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
6. Shell Programming and Scripting
Hello again gentlemen.
I would like to make a shell script to 'optimize' a plain text full of IPs.
Let's suppose to have this text file:
1.192.63.253-1.192.63.253
1.0.234.46/32
1.1.128.0/17
1.116.0.0/14
1.177.1.157-1.177.1.157
1.23.22.19
1.192.61.0-1.192.61.99
8.6.6.6
I want to... (2 Replies)
Discussion started by: accolito
2 Replies
7. Shell Programming and Scripting
Hi
Can someone tell me which script will work best (in terms of speed and simplicity to write and run) for a large text file to filter all the lines with a minimum specified length of words ? A sample script with be definitely of great help !!! Thanks in advance. :) (4 Replies)
Discussion started by: my_Perl
4 Replies
8. Shell Programming and Scripting
Not sure if this is the correct forum for this question. I have two files. file1.zip, file2
Input:
file1.zip
col1, col2 , col3
a , b , 0:0:0:0:0:c436:9346:d40b
x, y, 0:0:0:0:0:880:39f9:c9a7
m, n , 0:0:0:0:0:80c7:9161:fe00
file2.txt
col1
c4:36:93:46:d4:0b... (1 Reply)
Discussion started by: anil.v
1 Replies
9. Shell Programming and Scripting
The file starts like this:
Directory: <path to the script>
Script: <script fife name>
#!bin/ksh
##Comments
<actual script>
What is the use of the first two lines in the script? What if I save the file without them? What will be the effect? They are not comments. Im very new to this,... (4 Replies)
Discussion started by: remytom
4 Replies
10. Shell Programming and Scripting
I want to make a config file which contain all the paths.
i want to read the config file line by line and pass as an argument on my below function.
Replace all the path with reading config path line by line and pass in respective functions.
how can i achieve that?
Kindly guide.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
LEARN ABOUT DEBIAN
mkgeo_ball
mkgeo_ball(1rheolef) rheolef-6.1 mkgeo_ball(1rheolef)
NAME
mkgeo_ball -- build an unstructured mesh of an ellipsoid, in 2d or 3d
SYNOPSIS
mkgeo_ball options [n]
EXAMPLE
The following command build a triangle based 2d unstructured mesh of the unit ball
mkgeo_ball -t 10 > ball-10.geo
geo -mayavi ball-10.geo
or in one comand line:
mkgeo_ball -t 10 | geo -mayavi -
DESCRIPTION
This command is usefull when testing programs on simple geometries. Invocation is similar to mkgeo_grid (see mkgeo_grid(1),
mkgeo_ugrid(1)). It calls gmsh as unstructured mesh generator. It avoid the preparation of an input file for a mesh generator. The
optional n argument is an integer that specifies the subdivision in each direction. By default n=10. The mesh files goes on standard out-
put.
ELEMENT TYPE OPTIONS
-t 2d mesh using triangles.
-q 2d mesh using quadrangles.
-tq 2d mesh using both triangles and quadrangles.
THE MESH ORDER
-order int
The polynomial pproximation mesh order, for the curved boundary, as defined by gmsh. Defualt is order=1.
THE GEOMETRY
The geometry can be ellipse/ellipsoid inscribted in the [a,b]x[c,d] rectangle or the [a,b]x[c,d]x[f,g] parallelotope. By default a=c=f=-1
and b=d=g=1, thus, the unit balls are considered.
-s Only a surface mesh is generated: a curved line in 2d or a curved surface mesh in 3d. In 3d, supports both '-t' and '-q' options.
-a float
-b float
-c float
-d float
-f float
-g float
BOUNDARY DOMAINS
The meshes defines a domain named boundary that groups all boundary sides.
OTHERS OPTIONS
-fix
-nofix By default, internal face and volume node from gmsh are recomputed, since they have incorrect coordinate that destroy the conver-
gence properties of isoparametric high order elements (order >= 3). The -nofix option skip this correction: this option is avail-
able for test purpose.
-clean clear temporary files (this is the default).
-noclean
does not clear temporary files.
-verbose
-noverbose
print intermediate commands and information messages.
SEE ALSO
mkgeo_grid(1), mkgeo_ugrid(1)
rheolef-6.1 rheolef-6.1 mkgeo_ball(1rheolef)