LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2004, 03:25 PM   #1
tcma
Member
 
Registered: Aug 2004
Distribution: gentoo, Fedora Core
Posts: 54

Rep: Reputation: 15
Add consecutive numbers to a Chinese file


What is the easiest way to add consecutive numbers to all the even lines of a Chinese file?
I don't want to type them myself.
ie. add 1 to the second line, 2 to the fourth line, 3 to the sixth line, etc.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add numbers in a formatted file via a bash script? zero79 Linux - General 8 12-24-2010 05:48 PM
how can I add Chinese font to system? czy11421 Linux - Newbie 3 03-28-2006 05:39 PM
Using sed to add carriage retuns and line numbers. Optimistic Programming 11 04-08-2005 01:13 AM
how should I add Chinese language support in RH 9.0 ? 5883 Linux - Software 1 08-01-2004 10:42 PM
Help.. how do I add two numbers? Tengil Linux - Newbie 3 03-04-2004 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:06 AM.

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