#n
/adr0/,/adrX/p
this works perfect, as expected, suppose it
prints:
aaa
bbb
ccc
Q: how join the output lines to 1 string: like
aaabbbccc
with endind '\n' ?
sed has (maybe i have) problems with '\n'
tia
input is
abcde123456
output is
abc
de1
234
56
insert a \n after every 3.char (if present)
the inputfile is large, very very large
sed does not understand \n,
maybe i don't understand sed
vi can do it
:%s/.../&^M/g
but, needs days to do the job
it's a performance Q.
any idea? thanks...
hello
in a c-prog (on solaris) i set the uid+euid to NEWuser, gid+egid to NEWgrp, using set(e)(uid|gid), sure NEWusr AND NEWgrp are well defined
in /etc/(passwd|group) both to abba,
then i create a file (it does not matter how, (f)open, creat, system, exec.. and so on);
as ROOT i run the...
hi all,
is there an EASY and SURE way to translate (stupid)filenames containing spaces, [ ` ^ $ \ ; " ' & * % | > < all-brakets ] + special chars >127 and so on
to standard unix filenames, changing this characters BUT preserving the (unique)name ? exemple:
'\\ab` \234 ab' ->...
hi
this is the wrong forum, nenverles you can help me.
--------------
we have to test a very old program and need
printer able to work with CaPSL.
CaPSL was a proprietary language of Canon.
so we need Canon laser printers
type LPBII, LPBIII or (better) LPB-8 IV Mark.
all this are at least 10...
hi
we have to test a very old program and need
printer able to work with CaPSL.
CaPSL was a proprietary language of Canon.
so we need Canon laser printers
type LPBII, LPBIII or (better) LPB-8 IV Mark.
all this are at least 10 years old.
can someboy help us to find such a lp,
sure we will pay...
hi
we found errors in our db, so i have to recompute all values in most of the tables (dumped in ascii format). the are very big >100'000 lines, every rows has >100 fields, the values are also big >10^9 and on each row are 10 arithmetic compounds to exec.
- i first try to generate an input file...
hi all,
given:
aaaa-bbbb-cccc-dddd-.........and-so-on
how can i build the string:
/aaaa/bbbb/cccc/dddd/aaaa-bbbb-cccc-dddd-.........and-so-on
assuming the first 4 substrings are significant.
thanks for help, ira
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.