I have a text file. There are hundreds of lines. Each line is either in English or in Chinese characters, but not both (there are a few exceptions but perhaps less than <10, so these are discoverable and manageable). A single line may contain multiple sentences. What I would like to end up with is two files; one in English; the other in Chinese.
The lines tend to alternate languages, but not always. Sometimes there might be two lines in English, followed by one line in Chinese.
Is there a way to use Sed or Awk to divide the languages into two different text files?