hi
i need to name a file with a substring of a another file name.
i.e. if the old filename is abc.txt , the new filename should be abc_1.txt
i should get the substring of the file name and then name the new one
please let me know how to do it (4 Replies)
Hi All,
I am trying to extract substring from a variable by using the pattern as var3=${var2:3:3}
var2 is a variable already declared and having the value. From var2 i need to extract 3 characters from 3rd position.
When ever i give the expression var3=${var2:3:3} on shell prompt, the... (3 Replies)
Hi awk and sed gurus,
Please help me in the following.
I have the following entries in the file
ABCDErules
AbHDPrules
ABCrules
--
--
and other entries in the file.
Now, I want to extract from the file that contain entries for *rules and process it separately.
How can i do it... (6 Replies)
Hi,
I would like to extract a substring from a string in unix.
eg:
./checkfile.sh -- i need only checkfile.sh from this string.
Could someone help me out in this...
Regards
Arun (19 Replies)
Hi all,
I need to extract the "abcdef" from the below string Digital_abcdef_20130103.txt.gz
The length of the "abcdef" will be changing but it will be always after the word Digital_ and before the second underscore
help in this regard is highly appreciated (3 Replies)
Hi,
I am new to Unix. I am trying to extract a substring from an input string: Ex -
input string: deploy_v11_9_1
i want to extract and store the value v11_9_1 from the input string in a new variable.
I am using following command in my shell script file:
echo "Enter the folder name u... (5 Replies)
hello.
I get this text when using some command :
S | Name | Type | Version | Arch | Repository
--+-----------------+---------+---------+------+-------------
| AdobeReader_enu | package | 9.5.4-1 | i486 | zypper_local
I need to get "AdobeReader_enu" from the the pattern "Ado"... (7 Replies)
Hi All
I have a line which is as below
1234567 Gagan Paswani zz23432 1000000000 1000000000 ASTHEYXX-RTUC zz23432
I need to extract the first occurence of zz23432 which will have the reg expression as
{2}{5}
Could you please assist as to how I can extract this... (3 Replies)
Hi All,
I'm facing issue wherein I have 2 character string like 'CR' and 'DR' and I want to extract just 1st character but am unable to do it. I tried below options but they are returning me 2nd character only,
var="CR"
echo ${var:1}
returns just "R"
echo ${var:0}
returns "CR"
... (5 Replies)
Discussion started by: arvindshukla81
5 Replies
LEARN ABOUT DEBIAN
dolfin-convert
DOLFIN-CONVERT(1) General Commands Manual DOLFIN-CONVERT(1)NAME
dolfin-convert - Convert to DOLFIN XML format
SYNOPSIS
dolfin-convert [OPTIONS] ... input.x output.y
OPTIONS -h, --help
Display help text and exit.
-i format, --input format
Specify input format.
-o format, --output format
Specify output format.
Supported formats:
xml - DOLFIN XML mesh format (current)
xml-old
- DOLFIN XML mesh format (DOLFIN 0.6.2 and earlier)
mesh - Medit, generated by tetgen with option -g
gmsh - Gmsh, version 2.0 file format
metis - Metis graph file format
scotch - Scotch graph file format
diffpack
- Diffpack tetrahedral grid format
abaqus - Abaqus tetrahedral grid format
ExodusII
- Sandia Format (requires ncdump utility from NetCDF)
NetCDF - NetCDF format (requires ncdump utility from NetCDF)
StarCD - StarCD terahedral grid format
If --input or --output are not specified, the format will be deduced from the suffix:
.xml - xml
.mesh - mesh
.gmsh - gmsh
.msh - gmsh
.gra - metis
.grf - scotch
.grid - diffpack
.inp - abaqus
.e - ExodusII
.exo - ExodusII
.ncdf - NetCDF
.vrt - StarCD
.cell - StarCD
BUGS
Send comments, questions, bug reports etc. to dolfin@lists.launchpad.net.
AUTHOR
dolfin-convert was originally written by Anders Logg <logg@simula.no>. Several others have contributed to add support for different mesh
formats. This manual page was written by Johannes Ring <johannr@simula.no>.
DOLFIN-CONVERT(1)