7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
Discussion started by: wyclef
5 Replies
2. Shell Programming and Scripting
Hi all,
I have more than 12000 files in 46 different directories and each directory has 2 sub-directories named “dat” or “gridded”. Dat sub-directories have files with extension “jpg.dat” and gridded sub-directories have files with extension “.jpg”.
I need to... (1 Reply)
Discussion started by: AshwaniSharma09
1 Replies
3. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
4. Shell Programming and Scripting
Hi legends,
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh... (1 Reply)
Discussion started by: anishkumarv
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
3 Replies
6. Programming
Hi,
I am searching the web for documentations with tutorials for spectra flux calibration using IDL, does anyone know anything that can help me? Please help :D
---------- Post updated 07-11-09 at 05:38 AM ---------- Previous update was 07-10-09 at 10:46 AM ----------
Does the question make... (0 Replies)
Discussion started by: cosmologist
0 Replies
7. UNIX for Dummies Questions & Answers
Is there a Unix command similar to the WHERE command in IDL. Such a command would return all location numbers of an array where the value at those locations satisfy specified conditions. For example, if I have a random vector
vector=(3 5 6 9)
how can I find the location numbers in ${vector}... (6 Replies)
Discussion started by: msb65
6 Replies
LEARN ABOUT LINUX
orber_tc
orber_tc(3erl) Erlang Module Definition orber_tc(3erl)
NAME
orber_tc - Help functions for IDL typecodes
DESCRIPTION
This module contains some functions that gives support in creating IDL typecodes that can be used in for example the any types typecode
field. For the simple types it is meaningless to use this API but the functions exist to get the interface complete.
The type TC used below describes an IDL type and is a tuple according to the to the Erlang language mapping.
EXPORTS
null() -> TC
void() -> TC
short() -> TC
unsigned_short() -> TC
long() -> TC
unsigned_long() -> TC
long_long() -> TC
unsigned_long_long() -> TC
wchar() -> TC
float() -> TC
double() -> TC
boolean() -> TC
char() -> TC
octet() -> TC
any() -> TC
typecode() -> TC
principal() -> TC
These functions return the IDL typecodes for simple types.
object_reference(Id, Name) -> TC
Types Id = string()
the repository ID
Name = string()
the type name of the object
Function returns the IDL typecode for object_reference.
struct(Id, Name, ElementList) -> TC
Types Id = string()
the repository ID
Name = string()
the type name of the struct
ElementList = [{MemberName, TC}]
a list of the struct elements
MemberName = string()
the element name
Function returns the IDL typecode for struct.
union(Id, Name, DiscrTC, Default, ElementList) -> TC
Types Id = string()
the repository ID
Name = string()
the type name of the union
DiscrTC = TC
the typecode for the unions discriminant
Default = integer()
a value that indicates which tuple in the element list that is default (value < 0 means no default)
ElementList = [{Label, MemberName, TC}]
a list of the union elements
Label = term()
the label value should be of the DiscrTC type
MemberName = string()
the element name
Function returns the IDL typecode for union.
enum(Id, Name, ElementList) -> TC
Types Id = string()
the repository ID
Name = string()
the type name of the enum
ElementList = [MemberName]
a list of the enums elements
MemberName = string()
the element name
Function returns the IDL typecode for enum.
string(Length) -> TC
Types Length = integer()
the length of the string (0 means unbounded)
Function returns the IDL typecode for string.
wstring(Length) -> TC
Types Length = integer()
the length of the wstring (0 means unbounded)
Function returns the IDL typecode for wstring.
fixed(Digits, Scale) -> TC
Types Digits = Scale = integer()
the digits and scale parameters of a Fixed type
Function returns the IDL typecode for fixed.
sequence(ElemTC, Length) -> TC
Types ElemTC = TC
the typecode for the sequence elements
Length = integer()
the length of the sequence (0 means unbounded)
Function returns the IDL typecode for sequence.
array(ElemTC, Length) -> TC
Types ElemTC = TC
the typecode for the array elements
Length = integer()
the length of the array
Function returns the IDL typecode for array.
alias(Id, Name, AliasTC) -> TC
Types Id = string()
the repository ID
Name = string()
the type name of the alias
AliasTC = TC
the typecode for the type which the alias refer to
Function returns the IDL typecode for alias.
exception(Id, Name, ElementList) -> TC
Types Id = string()
the repository ID
Name = string()
the type name of the exception
ElementList = [{MemberName, TC}]
a list of the exception elements
MemberName = string()
the element name
Function returns the IDL typecode for exception.
get_tc(Object) -> TC
get_tc(Id) -> TC
Types Object = record()
an IDL specified struct, union or exception
Id = string()
the repository ID
If the get_tc/1 gets a record that is and IDL specified struct, union or exception as a parameter it returns the typecode.
If the parameter is a repository ID it uses the Interface Repository to get the typecode.
check_tc(TC) -> boolean()
Function checks the syntax of an IDL typecode.
Ericsson AB orber 3.6.20 orber_tc(3erl)