![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl: Getting back reference from s modifier | cooldude | Shell Programming and Scripting | 8 | 03-19-2008 09:49 AM |
| What does this I/O error mean and how to mount it back | duke0001 | UNIX for Advanced & Expert Users | 5 | 03-19-2007 10:59 AM |
| C++ Compiling error.. Symbol Reference | bjena | UNIX for Advanced & Expert Users | 3 | 08-09-2006 02:10 AM |
| back-up drive : tape error | yackim | SCO | 3 | 03-03-2006 09:19 AM |
| Undefined reference to Error | svh | High Level Programming | 2 | 02-11-2006 12:23 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
thanks partner!!..I just missed to put a s there.
I have few file in my dir..... abc 123 efg 567 I am trying this command..... for file in `find ./|sed 's/^/\"/'|sed 's/$/\"/'` do echo $file done This is the output i am getting......... "./" "./.sh_history" "./3rdPartytesting" "./abc 123" "" "./efg 456" "./bkup" The issue is there is an extra \n in the names of files which contains a space in them. Can you help me get a output like... "./" "./.sh_history" "./3rdPartytesting" "./abc 123" "" "./efg 456" "./bkup" regards Apoorva Kumar |
|
||||
|
Quote:
Please any anwers?? regards Apoorva Kumar |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|