Author Topic: modifying a list  (Read 3889 times)

0 Members and 1 Guest are viewing this topic.

Offline noobnonin

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 151
  • Rating: +3/-38
    • View Profile
modifying a list
« on: October 07, 2013, 05:18:27 pm »
Good day

Good day all, i come back for help once again, does somebody knows a program or something related in which if i have a huge amount of information with the same pattern and i just want to change a few things, helps me so i dont have to do it one by one?

example:

(a2)i am noob(a2)                    ------------------                   and change this to ----------------              (a3)i am noob indeed(a3)
(ss) blablablabla (ss)                                                                                                                           (ss2) blablablabla (ss2)
(ss) blablablabla (ss)                                                                                                                            (ss3) blablablabla (ss3)

(a2)i am noob indeed(a2)                                                                                                                            etc etc----
(ss) blablablabla (ss)

(a2)i am noob yes i am(a2)
(ss) blablablabla (ss)
« Last Edit: October 07, 2013, 05:19:53 pm by noobnonin »

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: modifying a list
« Reply #1 on: October 07, 2013, 05:49:40 pm »
what exactly are you trying to ask? most text editors have a "find and replace" function which can swap one string anywhere it occurs in a document for another specified string. if you want a more complex transformation, you will need to use something which supports regular expressions. the two options i would suggest for something like that would be sed (if you're using a unix-like system, including osx), or perl, which is a scripting language with fantastic regex support and runs on all the major operating systems.

Offline noobnonin

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 151
  • Rating: +3/-38
    • View Profile
Re: modifying a list
« Reply #2 on: October 07, 2013, 07:14:56 pm »
ok thanks.... and please stop the mass downgrade >.>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: modifying a list
« Reply #3 on: October 09, 2013, 01:42:48 am »
If you mean the mass downrating it was probably done for a reason (especially the wifi network hacking thread and even moreso the fact a second topic was made immediately after the first got locked). However if you ever have concerns about suspicious post rating activity or intentional mass downrating by a single member then contact an admin if they are active posting.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline noobnonin

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 151
  • Rating: +3/-38
    • View Profile
Re: modifying a list
« Reply #4 on: October 10, 2013, 08:08:27 pm »
ahahahah you remember that post haha xd
well, i actuallly managed to see how i could hack those wifi networks but as i said before, i am not going to do it, i was just researching

Regards