WHAT LANGUAGE SHOULD I LEARN FOR:

WHAT LANGUAGE SHOULD I LEARN FOR:

I have a txt file with tens of thousands of names, what language do I use to sort the names and automatically transfer certain names to another application ?

Other urls found in this thread:

automatetheboringstuff.com/chapter8/
twitter.com/AnonBabble

Gentoo

bash
sort
uniq

HAHHAHAHAHHA GOOD ONE M8EIGHTE098

Is there a solution for windows?
I do have a dual boot ubuntu though.

Also the names don't have a space between them but there is a character sequence that acts like a space, but I don't know how to automate that.

I'd go with python, easy and fast

Perl

awk

>python
>fast
I like python but it's probably the slowest of the widely used languages right now.

Python works.

I meant fast to write (at least for me), but otherwise you're totally right.

Why wouldn't you do this in languages specifically designed for this kind of workload?

AWK or Perl.

automatetheboringstuff.com/chapter8/

this should get you started

French or Chinese!

javascript for everywhere master race


let a = readFileSync('txt')
a.sort().filter(()=>{})

>Python for Windows Automation
What the actual fuck?

Why would you even

sort txt_file | uniq | grep pattern | another_application

What fucking enterprise shit are you using that just accepts random fucking pipes as data input?

python. sorted me a 3k domain txt in 0.3sec

have sorted 6m databases in the past.

When you compare speeds are you talking about trivial things like OP said or something more complex? What sort of speed difference are we talking about here?

Also, once I sort them, I want to be able to automatically to paste them into other programs.

I mean, it's not only text sorting.
Python is best for that, right?

Not giving a fuck whether the input stream comes from a file, stdin, pipe or your mother's cunt has been the cornerstone of UNIX philosophy since nineteen-fucking-seventies, you twat.

>Unix philosophy
>Enterprise Software
10/10

>eyebrows bleached


Fucking copy cat piece of shit i hope she fucking dies stop copying talented people and get your own style cunt

>pulling indefinable buzzwords out of his ass
>pretending they were implied from the beginning
0/10, fuck off.

Excel

home sysadmin detected.

muh 6tb.

you can use regular expressions or similar for the sequence. They exist in a shitton of languages

Indian

cygwin

pic related

Python is by far the best for what you're asking.
Disregard everyone else.

DONE.
unique = set(sys.stdin)
unique = sorted(unique)
for item in unique:
print item

>WHAT LANGUAGE SHOULD I LEARN FOR:
>automatically transfer certain names to another application ?

Care to elaborate?

Define what you mean by paste into another application? Actually using the clipboard or pipe into the other program or save as another file to open in the other program?

>sorting before finding uniques
top kek