Random walk versus random line