I am trying to add a section from the beginning of each line to the end of the line in a file. At present, the file is formatted like this:

```
1.1) This is a sample question? Yes it is a sample question
1.2) Are you quite sure it is a sample question? I am quite sure
...

```

What I am trying to do is to add the question (but not the number) at the beginning of each line to the end of the line, essentially making a file formatted like this:

```
1.1) This is a sample question? Yes it is a sample question This is a sample question
1.2) Are you quite sure it is a sample question? I am quite sure Are you quite sure it is a sample question
...

```

I've already done quite a bit of restructuring of the original text file, including removing all of the question marks aside from the ones at the end of the relevant questions and all of the closing brackets aside from those at the end of each line's number.

My rationale here was to use the closing brackets as a marker indicating where the section to be repeated starts, and the question marks as a marker showing where the section to be repeated ends. However, upon actually trying to implement this, I've come up dry.

I assume I would need to use a `for` loop that goes over each line, activates when it sees a `)` and adds each space separated character thereafter to the end of the line until it sees a `?`, at which point it stops and moves to the next line; however, I'm struggling with implementing this in `bash`.