Search Results

Search: Posts Made By: iaav
2,691
Posted By rdcwayx
how about this, it is not exact for your request,...
how about this, it is not exact for your request, but get mostly.

perl -l40pe 's/^-+/\n/' svn.log|awk -F \| '{$3=""}1'

r7351 user01 2 lines Changed paths: D /trunk/demo/proj1/.project ...
1,756
Posted By balajesuri
When you do the above, src_url would be...
When you do the above, src_url would be "ticket-1". After shift, $1 would refer to ticket-2. Not sure if this is what you want. Please re-check.

Here's an untested script:

#! /usr/bin/bash
...
9,837
Posted By Franklin52
Ok, try this: awk -F/ 'NF>1 && /[MAD] \// &&...
Ok, try this:
awk -F/ 'NF>1 && /[MAD] \// && sub(".*HelloWorld\/",x)' file
9,837
Posted By Franklin52
Try this: awk -F/ 'NF>1 && /M \//{print $(NF-1)...
Try this:
awk -F/ 'NF>1 && /M \//{print $(NF-1) FS $NF}' file
Showing results 1 to 4 of 4

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