Search Results

Search: Posts Made By: yuesko
1,884
Posted By yuesko
about an argument with variable in sed
hi all

let say I run the ./xxx.bash x x x x or ./xxx.bash x x x or ./xxx.bash x x x x x
the last argument always a filename
the last arugment filename format is 5-10-22.txt
my question is how...
29,876
Posted By yuesko
how to combine 2 files using sed
hi all
I have two files
file1
aaa
bbb
ccc
ddd

file2
111
222
333
444

I would like to using "SED" combine two files together
Please help

Thank all
1,725
Posted By yuesko
Thank you for replying My questions is ...
Thank you for replying

My questions is
Let's say I have 10 lines
The first line is "aaa;10-10;2555;green;3268.50" and this is the right format in a file
The rest of 9 lines are in different...
1,610
Posted By yuesko
Correct a pattern format using sed
hi all
I have a file with many lines like
aa;bb;cc;dd;ee
bb;aa;dd;ee;bb
cc;ee;bb;dd;aa
ee;cc;bb;aa;dd
.
.
.
etc
The first line is in right format,Please help me how to use "SED" to change...
1,725
Posted By yuesko
Thank you, it works Before i haven't clearly...
Thank you, it works
Before i haven't clearly express my problem
let's say I have many lines,like
a;b;c;d;e-> right format
b;e;c;d;a
c;d;e;a;b
.
.
.
etc
i have to create many possibilities...
1,725
Posted By yuesko
using sed to exhange the pattern
hi all
I have a question how to using SED to exchange a pattern in a file
a file like
line 1 a;b;c;d;e-> this is the right format
if the second line
line 2 a;d;c;e;b
after i determine line 2 is...
Showing results 1 to 6 of 6

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