Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-12-2015, 09:35 AM   #1
Registered: Feb 2013
Posts: 273

Rep: Reputation: 9
script to edit a bilingual text


I have a column of words in which english words are glued to Chinese words like this:

(The stars represent the Chinese alphabet)

I want to write a script to separate the English words and put it in another file. Is sth like this possible by script writing?

Any suggestion is welcome.
Old 09-12-2015, 10:44 AM   #2
Senior Member
Registered: Nov 2011
Distribution: Debian
Posts: 1,206

Rep: Reputation: 245Reputation: 245Reputation: 245
What happens if you strip out a-z using sed?
Try a small sample.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Tips on using bash script to edit a windows text file weezy99 Linux - Newbie 3 02-11-2015 09:09 AM
LXer: Vietnamese netbook runs on bilingual Linux distro LXer Syndicated Linux News 0 07-22-2009 03:10 AM
Help with script to batch edit text files OnoTadaki Programming 5 10-15-2007 03:44 PM
Bash script to edit text file snowman81 Linux - Desktop 2 01-10-2007 04:33 PM
Help with a script to edit text file (awk? sed?) rickh Linux - Newbie 8 04-21-2005 09:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration