Reputation
252
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 7
Impact
~2k people reached

Jan
14
comment Using sed to cut a string starting with n spaces and ending with n spaces
Could you add multiple examples of the actual lines you want to extract the title from? If you can, include the most difficult ones as well as several standard ones. That will make your actual requirements a lot clearer, which will make it easier to give you a useful answer. :-) Thanks in advance!
Jan
13
revised Awk - output the second line of a number of .dat files to one file
Explain advantages of for-loop
Jan
13
revised Ack regex on filenames
Add tip to grep over filenames in subdirectories
Jan
13
answered Ack regex on filenames
Jan
13
revised Using sed to cut a string starting with n spaces and ending with n spaces
Use extended regex syntax
Jan
13
answered Using sed to cut a string starting with n spaces and ending with n spaces
Jan
13
revised Awk - output the second line of a number of .dat files to one file
remove extraneous comment
Jan
13
answered Awk - output the second line of a number of .dat files to one file
Sep
19
awarded  Popular Question
Sep
11
awarded  Yearling
Apr
21
comment How can I cd to the previous/next sibling directory?
Very nice. I'm keeping jw013's answer as the accepted one, because my question and use case were ‘I want to move to the next sibling, and I don’t care what it's called’; but this is useful, too, and nifty, so do have an upvote.
Sep
25
answered Commands pasted into terminal are truncated
Jul
13
awarded  Excavator
Jul
13
revised List explicitly installed packages
Add an 'executive summary' with all the code together at the top.
Jul
13
suggested approved edit on List explicitly installed packages
Jun
21
awarded  Scholar
Jun
21
accepted How can I cd to the previous/next sibling directory?
Jun
21
awarded  Editor
Jun
21
revised How can I cd to the previous/next sibling directory?
Minor alteration so the script works under zsh, too.
Jun
21
comment How can I cd to the previous/next sibling directory?
I use zsh, actually, but if you change the first test in the next function's for-loop to [[ -n $foundcwd ]] then your answer works under bash and zsh equally well. Very nice, and thank you for writing this up.