10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Since I cannot find a ffmpeg build that will automatically include a environment variable for the CMD ffmpeg command I'll probably have to do it myself.
However I would like to do so by saving it inside a .reg file.
For example if my path towards FFMPEG is:
... (5 Replies)
Discussion started by: pasc
2. Shell Programming and Scripting
I am a new in scripting language and I would like help for you guys
I would like to create a file named constant.h and search into all files *.m in specific directory for a reg-exp @"LBL_]+" exp: @"LBL_75847" , and write those matchs to constant.h if there are not written (no... (15 Replies)
Discussion started by: molwiko
3. Emergency UNIX and Linux Support
I have a very big xml in that i want to search only below 3 lines.
<target name ="UpgradePrimaryBox" depends ="configureBox1">
<echo> Finished Upgrading Primary Box </echo>
grep -i "<target.*UpgradePrimaryBox" this gives me the first line.
then i need to match... (7 Replies)
Discussion started by: ameyrk
4. Shell Programming and Scripting
now, var2 contains var1(LEN).How do i check this in perl....
whether one string is a part of another..?
what'd be the logic.. (4 Replies)
Discussion started by: vijay_0209
5. Shell Programming and Scripting
I am using the following piece of code for extracting some data from in between some tags ...
$text =~ /<TAG1>(.*)<\/TAG1>.*<TAG2>(.*)<\/TAG2>.*<TAG3>(.*)<\/TAG4>.*<TAG5>(.*)<\/TAG5>/;
But I am getting an error like
Use of uninitialized value in... (1 Reply)
Discussion started by: King Nothing
6. UNIX for Dummies Questions & Answers
Hi, I need
to make some extraction . with the following input to get the right output.
input: /etc/exp/home/bin ====> output: exp
input: aex1234 ===> output: ex
Thanks for your help, (4 Replies)
Discussion started by: yeclota
7. Shell Programming and Scripting
If I had a string that was a combination of plain text and quoted text - For ex
String: This "sentence is" a combination of "multiple words"
I wanted to know how I can write a reg-ex that splits the above string into the following
result = This
result = sentence is
result = a... (7 Replies)
Discussion started by: garric
8. Shell Programming and Scripting
$ cat file.txt
This works for me:
$ sed -r 's/^ .*<LL>def/\t<LL>my/' file.txt
But, this does not work for me:
$ sed -r 's/^\s+<LL>def/\t<LL>my/' file.txt
... (1 Reply)
Discussion started by: demoprog
9. Shell Programming and Scripting
in shell scripting there is extensive usage of
i> regular expression
can anyone tell me the suitable contexts ...i mean which one is suitable for what kind of operation.
like the reg-exp and sed seems to be doing the same job..i.e pattern matching (1 Reply)
Discussion started by: mobydick
10. Shell Programming and Scripting
Any idea please:
How to pass a reg. exp. variable to awk call in a shell???
}' $1 (5 Replies)
Discussion started by: andy2000