# Remove minus-signs from list [closed]

I have a list that is of the following form

{-x,y,-z,a}


I want this set to become this:

{x,y,z,a}


I tried the following:

{-x,y,-z,a}/.{Minus->Plus}


But with no success. Functions like Abs also don't work, since x,y,z,a are not defined.

## closed as off-topic by Dr. belisarius, user9660, RunnyKine, MarcoB, J. M. is away♦Mar 28 '16 at 19:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Dr. belisarius, Community, RunnyKine, MarcoB, J. M. is away
If this question can be reworded to fit the rules in the help center, please edit the question.

• Try the rule -1*x_ :> x – Marius Ladegård Meyer Mar 28 '16 at 15:17
• Oh that works fine! Thank you! – Jasper Mar 28 '16 at 15:19
• {-x, y, -z, a} /. -t_ :> t works too. – andre314 Mar 28 '16 at 15:21
• If you want to see what are the real "words" behind the expression {-x,y,-z,a} try : FullForm[{-x,y,-z,a}], you will see there no Minus, so your replacement rule will have no effect. – andre314 Mar 28 '16 at 15:27
• I didn't know about the FullForm expression yet. Thank you for that, that may create lots less struggle in the future with similar problems :) – Jasper Mar 28 '16 at 15:31