Search Results

Search: Posts Made By: sparkriver
3,121
Posted By sparkriver
no in ksh but getting > at the end of the...
no in ksh
but getting >
at the end of the code
now i can do
sed -r 's/.{2}/&\n/g' inputfile
or sed -r 's/.{3}/&\n/g' inputfile
it works but i want to generalize it replacing 2 or 3 with x....
3,121
Posted By sparkriver
the above code in giving some error
can it be done using sed and cut somehow .

-----------------------------------------
like to cut the 1st variable cut -c1-1
and then to replace the 1st variable sed '1s/^.//...
3,121
Posted By sparkriver
how to have ENTER after each symbol.
I want to know script for

Input file : 123456789
outputfile :
1
2
3
4
5
6
7
8
9
now please how can generalize it
like i want output : 123
456
789
Showing results 1 to 3 of 3

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