Jump to content


Photo

Text Editor That Prepends Text To Beginning Of Each Line

Started by Cory Streater ,

  • Sign In To Reply:  

Cory Streater #1

Cory Streater
  • Your Wish Is My Command
  • Offline
  • 1533 posts
  • Location: Seattle
  • Device: Samsung S6 Edge

Posted Jul 9 '13 @ 7:04 PM

Hey Everyone,

Does anyone know of a file editor that could insert text at the beginning of each file in a line?

An example snipet:
 

Accessories.apk</td>
AccuweatherDaemon.apk</td>
AccuweatherWidget.apk</td>
AccuweatherWidget_Main.apk</td>
Aetherpal.apk</td>
AllShareCastWidget.apk</td>
AllSharePlay.apk</td>
AllshareMediaServer.apk</td>
AllshareService.apk</td>
AnalogClockSimple.apk</td>
AnalogClockUnique.apk</td>
ApplicationsProvider.apk</td>
AssistedDialingProvider.apk</td>
BCService.apk</td>
BackupRestoreConfirmation.apk</td>
BadgeProvider.apk</td>

I would like to insert <td> at the beginning of each line, like this:

 

<td>Accessories.apk</td>
<td>AccuweatherDaemon.apk</td>
etc..


dmmarck #2

dmmarck
  • Ombudsman of Mountain View
  • Offline
  • 1381 posts
  • Location: Commonwealth of Virginia
  • Device: NEXII

Posted Jul 9 '13 @ 7:17 PM

For Android? Does Root Explorer do that natively?

Sent from my HTC One using Tapatalk 4 Beta


tacsig513.png

UNLEASH THE BEAST: General Nexus 5 Hackery


LG NEXUS 5 - Black 16GB, Android 4.4 KitKat, Unlocked, Rooted, franco.Kernel

ASUS NEXUS 7 (2013) - Black 16GB, Android 4.3 Jelly Bean, Unlocked

 


Cory Streater #3

Cory Streater
  • Your Wish Is My Command
  • Offline
  • 1533 posts
  • Location: Seattle
  • Device: Samsung S6 Edge

Posted Jul 9 '13 @ 7:57 PM

Mac or Windows. Sorry, II should have been more specific. I'm sure there's a command line option, but apparently I'm not Googling the correct combination of keywords.

Cyber Warrior #4

Cyber Warrior
  • Robots Will Kill
  • Offline
  • 1500 posts
  • Location: New York
  • Device: GS4 N7

Posted Jul 9 '13 @ 9:18 PM

Edit Rocket: http://www.editrocke...ext_editor.html

 

Another option might be to search and delete all /td from the file and then execute a command to wrap each line with the td /td tags. But the above sounds like it can do what you're looking for. 


tacsig513.png

: : C  H  A  N  N  E  L   Y  O  U  R    M  E  D  I  A : :


Cory Streater #5

Cory Streater
  • Your Wish Is My Command
  • Offline
  • 1533 posts
  • Location: Seattle
  • Device: Samsung S6 Edge

Posted Jul 9 '13 @ 9:43 PM

Cool. I will send you the file. Let me know how it turns out! :P



Malik Suleman #6

Malik Suleman
  • Member
  • Offline
  • 137 posts

Posted Jan 5 '16 @ 9:57 AM

its sounds cool.thanks man