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.

Required fields*

5
  • it can be feasible paste -d, $(printf ' -%.0s' $(seq 6)) <file Commented May 30, 2020 at 16:02
  • @StalinVigneshKumar I don't see this requirement in the question. Commented May 30, 2020 at 16:04
  • @StalinVigneshKumar That does not count. Answers should answer the question as stated. Also, it's unclear what they mean by "45 rows each". Commented May 30, 2020 at 16:06
  • @Kusalananda : Never mind, any ways it can be done in your answer Commented May 30, 2020 at 16:08
  • @StalinVigneshKumar Well, they could also mean they want to group the output into groups of 45 rows each, which is literally what they say. It's unclear and unimportant as it's not part of the requirements in the question. Commented May 30, 2020 at 16:09