I have a 5 columns csv file (space separated) like this :
username1 20130310 enabled 20130310 enabled username2 20130310 enabled 20130321 disabled username3 2013
This might work for you (GNU sed & Bash):
lineNumber=4 newValue=xxxx sed -i ${lineNumber}'s/\S\+/'"${newValue}"'/4' file
However beware. If the newValue contains a / you will need to change the substitute command delimiter to something else e.g. s@\S\+@${newValue}@4
newValue
/
s@\S\+@${newValue}@4