Search Results

Search: Posts Made By: Gl@)!aTor
1,410
Posted By drl
Hi. The command xargs can address such...
Hi.

The command xargs can address such problems. It is found on almost every modern system. See man xargs for details, and, if you run into problems with your experiments, let us know.
...
724
Posted By RudiC
Try this; be careful when and when NOT to use...
Try this; be careful when and when NOT to use double quotes for variable expansion:
OLDIFS="$IFS"; IFS=","; for i in $a; do echo $i; done; IFS="$OLDIFS"
1,862
Posted By pamu
grep -i "search pattern'
grep -i "search pattern'
174,969
Posted By era
Experiment to see. vnix$ n=1 vnix$ echo...
Experiment to see.

vnix$ n=1
vnix$ echo $($n)
bash: 1: command not found
vnix$ n="date"
vnix$ echo $($n)
Wed May 21 20:39:00 EEST 2008

So it uses the value of $n as a command. (It's the...
Showing results 1 to 4 of 4

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