10 More Discussions You Might Find Interesting
1. Programming
hi,
I have two basic questions, I will be really grateful if I receive any
comment from you,
I have an MPI code where I am trying to implement OpenMP directives.
The machine where I run the code has 16 cores. I run the code with
export OMP_NUM_THREADS=2
mpirun -np 4 ./exec
If I... (0 Replies)
Discussion started by: armando_2011
0 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to grep lines where the digits at the end of each line are greater than digits. Tried this but it will only allow me to specify 2 digits. Any ideas would greatly be appreciated. grep -i '\<\{3,4,5\}\>' file
---------- Post updated at 05:58 PM ---------- Previous update was at 05:41... (1 Reply)
Discussion started by: jimmyf
1 Replies
3. Shell Programming and Scripting
hi
name$count = some dynamic value
now i want to use dat dynamic value in grep so how m i supposed to do dat
i tried
`grep $(name$count) source`
, it is not working ......
what will be after grep so dat i will be... (4 Replies)
Discussion started by: Gl@)!aTor
4 Replies
4. UNIX for Dummies Questions & Answers
I want to parse the lines and want to extract the double quoted numbers as:
"SQL3149N "72" rows were processed from the input file. "0" rows were
successfully inserted into the table. "0" rows were rejected."
and want the output in 3 variables like
a=72
b=0
c=0
thanks in advance
... (3 Replies)
Discussion started by: mahesh_191
3 Replies
5. Shell Programming and Scripting
Hi everyone,
Fist of all I must confess that I am pretty new in the Unix environment and especially to shell scripting, however due to work related requirements I have started to analyze software specific logs.
The logs are structured so that it records by sessionID AND/OR Thread number, the... (3 Replies)
Discussion started by: sushimatt
3 Replies
6. UNIX and Linux Applications
hello -
A SystemOut.log file has recurring entries that follow this format:
Principal: auth9.nick.al.gov:389/USERNAME
Over the course of a day thousands of lines similar to this are produced, with each username represented hundreds of times.
I need to create a new file that shows... (4 Replies)
Discussion started by: 1075FJ40
4 Replies
7. Shell Programming and Scripting
Hi,
my xml files looks something like this
<Instance Name="New York">
<Description></Description>
<Instance Name="A">
<Description></Description>
<PropertyValue Key="false" Name="Building A" />
</Instance>
<Instance Name="B">
... (4 Replies)
Discussion started by: tententen
4 Replies
8. UNIX Desktop Questions & Answers
Hi all,
I am new to unix and struggling to do the below
I have few lines in a xml
<title>abc:1</title>
<description>abc:2</description>
<language>abc:3</language>
Is it possible to extract only the entire word like abc:1 abc:2 abc:3 instead of the entire line into a new file . Kindly... (3 Replies)
Discussion started by: umapearl
3 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I'm trying to grep for digits surrounded by non digits and I'm obviously misinformed. Could someone help me get this sorted out
here is what I have that is not working
grep -ho '\D(\{11\})\D' *.txt (5 Replies)
Discussion started by: mcgrailm
5 Replies
10. Shell Programming and Scripting
Hi,
I want to find out whether a string contains non numbers and + and -
example :
Str="0005000A" - It contains A
Str="0005000+" - No problem
What I have done is ,
echo $Str | grep
I will have to list out all non numeric characters... (6 Replies)
Discussion started by: shihabvk
6 Replies