Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • Thanks your help is much appreciated I was too confused and got the job done with ls -l hsli* | tail -1 | rev | cut -f 1 -d " " | rev | sed -e 's/[a-z]*//' -e 's/.h5//' and the same command with head in the second pipe to get the first files number. The numbers correspond to frequencies in an FDTD(Finite Difference Time Domain analysis). I would like to learn much more about sed, awk and regexs when I find the time btw, where can I start? Commented Feb 26, 2015 at 23:20