LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 04-03-2005, 03:35 AM   #1
ayiiq180
Member
 
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?
thx!
 
Old 04-03-2005, 12:51 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
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
Code:
find . -name "*style*"
show them on two lines?
 
  


Reply


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 06:02 AM
bash for + find problem kule Programming 9 02-23-2005 05:48 AM
Rare problem - cant login into bash shell Xris718 Linux - General 2 07-16-2004 02:07 AM
bash shell script problem shanenin Linux - Software 5 02-09-2004 10:22 PM
bash shell script problem evilchild Programming 7 02-08-2004 11:09 PM


All times are GMT -5. The time now is 09:41 PM.

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