Skip to content

Commit

Permalink
Code & Features Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaneltitane committed Oct 11, 2023
1 parent da42149 commit a41bb77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions l2cu
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,8 @@ l2cu_instructions_samples () {

# instructions_page_count=$(strings < "${instructions_file_path}" | sed -n 's|.*/Count -\{0,1\}\([0-9]\{1,\}\).*|\1|p' | sort -n | head -n 1)

# temporary bypass: cannot specify last page with lpub3d without generating pdf

instructions_page_count=$(sort -V "${instructions_directory}"/instructions.mpd | uniq -c -d | grep " STEP" | grep -E -o "[0-9]+" | sort -V | tail -n 1)

sample_page_first=1
Expand Down

0 comments on commit a41bb77

Please sign in to comment.