Search Results

Search: Posts Made By: SportBilly
3,315
Posted By SportBilly
Thanks Radoulov, it works great ! I have been...
Thanks Radoulov, it works great !
I have been able to test it on a Linux live CD.

I had tried to do it with sed but i wasn't successfull.
I didn't know the syntax you used.
Does s|.\{1,70\}/|...
3,315
Posted By SportBilly
Thanks for your answer. I don't have Unix at...
Thanks for your answer.
I don't have Unix at home so I cannot test your solution.
I'll test it as soon as i get to work on Monday.
3,315
Posted By SportBilly
The output should be : text text ASSIGN...
The output should be :

text
text
ASSIGN var1='path/xxx/xxx/xxx/xxx/filename1'
ASSIGN var2='path/yyy/yyy/yyyyyyy/yyyy/y/yyyyyy/
yyyy/filename2'
ASSIGN var3='path/zzzzzz/zzzzzzzzzz/zzzzzzzzzzz/...
3,315
Posted By SportBilly
Thanks for your answer Franklin52. In fact it...
Thanks for your answer Franklin52.
In fact it is a bit more complicated than that.

My exact input file looks like :

text
text
ASSIGN var1='path/xxx/xxx/xxx/xxx/filename1'
ASSIGN...
3,315
Posted By SportBilly
Break line after last "/" if length > X characters
Hello.
I am a french newbie in unix shell scripting (sorry if my english speaking is wrong).
I have a file with path and filenames in it. I want to limit the number of characters on each line and...
Showing results 1 to 5 of 5

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