Search Results

Search: Posts Made By: shah9250
4,324
Posted By Corona688
It doesn't "ignore". * gives valid filenames,...
It doesn't "ignore". * gives valid filenames, split where they should be.

But cramming the result of * into one string flattens it out. It forgets where the filenames begin and end. You have it...
4,324
Posted By neutronscott
See the following shell session example: ...
See the following shell session example:


mute@tiny:~$ mkdir shah9250
mute@tiny:~$ cd shah9250/
mute@tiny:~/shah9250$ touch 'file with spaces'
mute@tiny:~/shah9250$ for f in $(ls); do echo...
4,324
Posted By bakunin
There seem to be a few misconceptions at work...
There seem to be a few misconceptions at work here:

First, about $(ls). This is a device called "process substitution" and it works like this: the command inside the brackets is executed, its...
2,099
Posted By DukeNuke2
Read the manpage for test. man test
Read the manpage for test.

man test
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy