LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-03-2005, 01:35 AM   #1
Registered: Sep 2004
Posts: 39

Rep: Reputation: 15
bash shell 'find' problem.

I want find all the files named 'style' in my dir.
But some files in the dir name with space.So the "find " print them in two lines.So I can't deal with the file from find.
I try to sed the space in find's output to '\ ',But that can't work.
somebody give me a solution?
Old 04-03-2005, 11:51 AM   #2
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,538

Rep: Reputation: 101Reputation: 101
If I search for files with spaces in the name, they are displayed on ONE line. What's the exact command you type in? Does
find . -name "*style*"
show them on two lines?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash shell script problem sorno Programming 1 07-30-2005 05:02 AM
bash for + find problem kule Programming 9 02-23-2005 04:48 AM
Rare problem - cant login into bash shell Xris718 Linux - General 2 07-16-2004 01:07 AM
bash shell script problem shanenin Linux - Software 5 02-09-2004 09:22 PM
bash shell script problem evilchild Programming 7 02-08-2004 10:09 PM

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration