The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Space problem in files
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Space problem in files
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
05-21-2007
vibhor_agarwali
Registered User
Join Date: Jan 2005
Posts: 212
Space problem in files
Hi,
I have a file containing a list of entries.
Want to do ls on them.
for a in `cat <list.txt>`; do ls $a; done;
Now some entries contain spaces.
How do i incorporate space in $a.
Quoting $a in "" doesn't help.
Thanks
Remove advertisements
The UNIX and Linux Forums
!!
Forum Sponsor
vibhor_agarwali
View Public Profile
Find all posts by vibhor_agarwali