Search Results

Search: Posts Made By: vbe
1,766
Posted By vbe
You welcome
You welcome
1,766
Posted By vbe
an12:/home/vbe $ while read LIST; do echo...
an12:/home/vbe $ while read LIST; do echo $LIST;sleep 1;done<list
000
00aa
091102
091103
091104
091105
aa
about_dates.howto
about_sa1_sa2_sacd.txt
array001.sh
etc...
1,766
Posted By vbe
I would say its not a good idea to use the same...
I would say its not a good idea to use the same name for a variable and a file when you use both in the same script... (For me it was already confusing...) Then of course there is this syntax error:...
1,766
Posted By vbe
cd $dpath c=1 newlist=`echo $list | sed...
cd $dpath

c=1

newlist=`echo $list | sed 's/.gz//' `
newnewlist=`echo $newlist | sed 's/.fastq//' `

ls -1 $spath | while read LIST
do
echo "$c"
echo $LIST
c=$(($c+1))
done
Showing results 1 to 4 of 4

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