Search Results

Search: Posts Made By: wxuyec
2,312
Posted By wxuyec
Yes, I have -k in man page. but it is -k,...
Yes, I have -k in man page. but it is
-k, --key=POS1[,POS2]
start a key at POS1, end it at POS2 (origin 1)

there is no explanation for "-k.". It is comma, not dot.
thank you.
2,312
Posted By wxuyec
Yes, this one works. But I don't know why even...
Yes, this one works. But I don't know why even after I read
the man page of sort. There is no "-k.". Would you please
explain why this one works? thank you.

by the way I tried to use --debug,...
2,312
Posted By wxuyec
Thank you. I tried that. but the file of...
Thank you. I tried that. but the file of or10000.dat is still
in front of or100.dat.
it seems not to work.
2,312
Posted By wxuyec
How to sort the files according to the number?
Hi Everyone,

I have a question:
I have a lot of file named like
or10000.dat, or9100.dat, or100.dat, or3100.dat...
I want to deal with these files according to the
number in the name. So I want...
9,673
Posted By wxuyec
Thanks
Thanks
9,673
Posted By wxuyec
Why is SED so slow?
I have many files which contain about two million lines.
Now I want to use sed to delete the 9th line and add a new
line behind the 8th line. I use the command as follows:
for((i=1;i<100;i++));...
15,071
Posted By wxuyec
it works, Thank you.
it works, Thank you.
15,071
Posted By wxuyec
How to print backslash in shell script using awk?
I found that
echo "aaa" | awk '{print ",\\";}'
works, and it will give "\".

but
ddd=`echo "aaa" | awk '{print ",\\";}'`; echo $ddd
will not work.
Could anyone tell me why? thank you.
Showing results 1 to 8 of 8

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