Search Results

Search: Posts Made By: DSommers
9,370
Posted By DSommers
Some relevant feedback Don... Now I remember...
Some relevant feedback Don...
Now I remember why I stayed away from this forum.
I never understand people who try to guess what someone is thinking or intending. I approached this forum in a...
9,370
Posted By DSommers
Don, understood. Thank you for your help. Take...
Don, understood. Thank you for your help. Take care.
Cheers.

[SOLVED]
9,370
Posted By DSommers
RudiC, Don. I appreciate your help. Sorry to...
RudiC, Don. I appreciate your help. Sorry to 'not' mention I wish to achieve my objective on a single line if at all possible. Thank you again. If this isn't possible, I'll pass for now. Cheers.
9,370
Posted By DSommers
Match multiple patterns sequentially in order - grep or awk
Hello.

grep v2.21
Debian 8

I wish to search for and output these patterns in order;
"From " "To: " "Subject: " "Message-Id: " "Date: " "To: "

grep works, but not in strict order...

$...
Forum: Debian 09-29-2014
3,044
Posted By DSommers
To Clarify... I wish to start output after...
To Clarify...

I wish to start output after each occurance of '_Brkt',
until the next '_Brkt'.

So the desired results would be;

DSCF3649.JPG 2014-07-21 13:34:44 On 1
DSCF3649.RAF ...
Forum: Debian 09-28-2014
3,044
Posted By DSommers
Extract Lines Between 2 patterns if exist...
Hello.

I am not having luck with sed or awk today.

$ echo "$BrackListFinal"
DSCF3649-DSCF3651_Brkt
DSCF3649.JPG 2014-07-21 13:34:44 On 1
DSCF3649.RAF 2014-07-21 13:34:44 On ...
2,750
Posted By DSommers
Thanks Chubler XL, ygemici. I've carefully...
Thanks Chubler XL, ygemici.

I've carefully copied and pasted your codes, they do not return any result.
I'm using the debian version of awk (mawk), does that affect your suggestions?

Thank you...
2,750
Posted By DSommers
Please bear with me while I illustrate my...
Please bear with me while I illustrate my objective again,
I am not sucessfully applying your suggestions.

File1: named "Playlist", delimiter is: " - "


Bob Marley - Jammin (Bonus...
2,750
Posted By DSommers
OK. But how does one protect against "All"...
OK.

But how does one protect against "All" characters that could be in the filename?

The filename may contain "(-.%$@", etc. Nice line ygemici,

I believe it will only work hardcoded with...
2,750
Posted By DSommers
Thank you. If I change the ~ to == does...
Thank you.

If I change the ~ to == does that also acomplish the objective ?

I copy and pasted your code, it does not result in any activity...


awk -F'\t' 'NR==FNR{gsub(/.* -...
2,750
Posted By DSommers
awk - ignore metacharacters, search shell variables
Can I use awk to search for a string, passed from the shell, that might include metacharacters?



File1 entries: Bob Marley Jammin (Bonus Track).mp3
File2 entries: Bob Marley Jammin (Bonus...
2,057
Posted By DSommers
Music Playlist parse/grep
Hi.
Please help with a single line bash that will match field 3, and field 2 , if not then echo "Not Found".

Original Music List name; Musiclists.m3u

Format:
\Music\The Rolling Stones -...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 09:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy