From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811433.tru64-unix-managers.marc@archive.invalid> From: Sundar_Rajan () socgen-crosby ! com Date: Thu, 07 May 1998 07:41:20 +0000 To: tru64-unix-managers Subject: Scripts X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811433 Hello All, I am facing a problem in a script which squeezes multiple spaces into a single space. This is required frequently and still am not able to find a solution to this. For Ex : If I want to list all the files in a current directory of today's date then , ls -lR | grep 'May 7' it lists properly. The same when assigned to a variable it squeezes the mutiple spaces in "one" space only. i.e TODAY='May 7';export TODAY ls -lR | grep $TODAY it doesn't work. How can we avoid squeezing on multiple spaces ?? Similarly , If I want to recursively find the to-day's files only , find command doesn't give a right results. I have tried all combinations. Any help will be appreciated. Thanks in advance. Sunder ******************************************************************** The information contained in these documents may be confidential and is intended for the exclusive use of the addressee designated above. If you are not the addressee, any disclosure, reproduction, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please contact us immediately by telephone so that we can arrange for its return. ********************************************************************