Anonymous user
Talk:Remove duplicate elements: Difference between revisions
moving misplaced comment from Rosetta Code talk:General disclaimer
(moving misplaced comment from Rosetta Code talk:General disclaimer) |
|||
Line 15:
Does anybody know how to do it with Bash (or any other shell)?
for example, if I start with "-I/usr/include -I/usr/include -I/usr/other" I would like to get "-I/usr/include -I/usr/other"
== APL ==
The "Works with APL2" code looks a wee bit mucked up:
w←1 2 3 1 2 3 4 1
((⍳⍨w)=⍳⍴w)/w
1 2 3 4
I think it should be ((w {iota} w) = {iota}{rho}w)/w
where {iota} is the APL iota symbol
and {rho} is the APL rho symbol
— (Unsigned by [[User:69.254.121.12]], 02:41, 2 February 2010)
|