Search Results

Search: Posts Made By: spinner0205
1,359
Posted By chihung
Shell will not expand *.log if is within single...
Shell will not expand *.log if is within single quote. Below should do the job

cat /home/spinner0205/directory/directory/*.log > /home/spinner0205/otherdirectory/combined.txt

To avoid too long...
1,359
Posted By edehont
When using single quotes, the shell takes your *...
When using single quotes, the shell takes your * as a literal value.

So, don't use single quotes. (In this case.)

Next, use cat to conCATenate files:

cat...
1,359
Posted By itkamaraj
for i in...
for i in /home/spinner0205/directory/directory/*.log
do
cat $i >> /home/spinner0205/otherdirectory/combined.txt
done
2,204
Posted By Peasant
Try this grep -o -e...
Try this

grep -o -e "STEAM_[0-5]:[0-5]:[0-9]\{1,10\}" input
\{1,10\} is range of number of digits expected after last ":"

Regards
Peasant.
1,298
Posted By itkamaraj
while read a do /path/of/python...
while read a
do
/path/of/python /path/of/sidconv.py "$a" >> /path/of/workfile.txt
done < /path/of/workfile3.tmp
Showing results 1 to 5 of 5

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