Search Results

Search: Posts Made By: bleach8578
1,400
Posted By bleach8578
thank you.:):):)
thank you.:):):)
1,400
Posted By bleach8578
how to print the value > 1000 in a file
if the file test include

1233
0.123
0.128
0.165
0.14
14.5
134556
48968

can i show the output value > 1000 by command grep or awk or...?

1233
134556
48968


Thank you.
11,382
Posted By bleach8578
Because it shown error PCCG1[admin]# grep...
Because it shown error

PCCG1[admin]# grep -f file1 file2
grep: Regular expression too big
11,382
Posted By bleach8578
Can done by script ? as the file are too big...
Can done by script ? as the file are too big...
11,382
Posted By bleach8578
Compare two file and print same line
i want to compare two file and print same line


file1
12345 a
23456 a
45678 a
45679 a

file2
23456 a
34567 a
45679 a

output
23456 a
45679 a


any one can help me? Thank you
4,661
Posted By bleach8578
yes, both lines get deleted.
yes, both lines get deleted.
4,661
Posted By bleach8578
The highlighted line below are treat as duplicate...
The highlighted line below are treat as duplicate record.....

Input file
20090503011111|test|abc
20090503011112|tet1|abc|def
20090503011112|test1|bcd|def
20090503011131|abc|abc...
4,661
Posted By bleach8578
filter the uniq record problem
Anyone can help for filter the uniq record for below example? Thank you very much

Input file
20090503011111|test|abc
20090503011112|tet1|abc|def
20090503011112|test1|bcd|def...
1,281
Posted By bleach8578
Thank you so much~~Franklin52 you are a...
Thank you so much~~Franklin52 you are a genius~:b::b:
1,281
Posted By bleach8578
change format problem
Someone can help for the following fromat change can done by script?

i.e. insert the perivous colurm's first variable if below line don't have the varaible start from AXXX....

From...
1,497
Posted By bleach8578
one more question, if i want to seperate by "," ?...
one more question, if i want to seperate by "," ?

Start
1 2
3
4
End

Start
1 2
3
3
4
4
End

can it change the result to below

Start, 1 2, 3, 4, End
Start,1 2, 3, 3, 4, 4, End
1,497
Posted By bleach8578
Show syntax error near line 1 # cat...
Show syntax error near line 1

# cat (operator@v120-a%cat) file
Start
1 2
3
4
End

Start
1 2
3
3
4
4
End
# awk (operator@v120-a%awk) '/End/{print;next}NF{printf("%s ",$0)}' file
...
1,497
Posted By bleach8578
Row to Columns question
Hi,

I have a question for Row to Columns by script.

e.g. i have a file

Start
1 2
3
4
End

Start
1 2
3
3
4
4
End
1,772
Posted By bleach8578
for cycle question
i have a question how to modify below script to generate the expect result below :

test.sh
#!/bin/bash
for ((i=0; i < 25; i++))
do
echo $1$i
done

current result:
test.sh 20090101...
3,882
Posted By bleach8578
It's ok now for my script. Thanks for your help.
It's ok now for my script. Thanks for your help.
3,882
Posted By bleach8578
my server don't have date -d function.....
my server don't have date -d function.....
3,882
Posted By bleach8578
file.list's content is below ?? ...
file.list's content is below ??

1233743158.log
1233743410.log
1233744186.log
1233744462.log

how to apply this with convertime.sh ??
3,882
Posted By bleach8578
if using your command only can copy the file to...
if using your command only can copy the file to current time not file's real time


1233743158.log is a file name

"1233743158" is a unix time format

it's require to a script...
3,882
Posted By bleach8578
help....generate command script
Please help.....

if i have a file list below :

1233743158.log
1233743410.log
1233744186.log
1233744462.log

"1233743158" is a unix time format

it's require to a script...
Showing results 1 to 19 of 19

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