in reply to Re: Most effective bash to perl for directory listing
in thread Most effective bash to perl for directory listing
Wow that is awesome...Sorry.. I removed a lot of stuff from the scripts to make it simpler for the post, in mine it uses the current directory. Is there a way to get glob to output just the directory names but not their entire paths (without just regexing it)---> This is the current output of what you posted
This is what I was looking for, if it is possible:../results//jobs ../results//logs ../results//step0_tophat ../results//step1_2cuffcompare ../results//step1_cufflinks ../results//step2_cuffmerge ../results//step3_cuffdiff ../results//step4_createTranscriptome ../results//step6_bowtie_pe ../results//step7_bowtie_se ../results//step8_bowtie_hg19 ../results//step9_tophat_unmapped_hg19
Thanks so much for your time!jobs logs step0_tophat step1_2cuffcompare step1_cufflinks step2_cuffmerge step3_cuffdiff step4_createTranscriptome step6_bowtie_pe step7_bowtie_se step8_bowtie_hg19 step9_tophat_unmapped_hg19
On a side note, I really want to learn more shorthand tricks like this, but they are really hard to find without asking a direct question... are you aware of any resources that instruct specifically on useful shorthand alternatives .. for example the difference between my script and your response.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Most effective bash to perl for directory listing
by BrowserUk (Patriarch) on Jul 18, 2012 at 19:07 UTC | |
|
Re^3: Most effective bash to perl for directory listing
by aaron_baugher (Curate) on Jul 18, 2012 at 22:00 UTC |