Search Results

Search: Posts Made By: newbee2015
1,744
Posted By newbee2015
Thank you... it works now
Thank You Don.

this worked perfectly.

for i in B*
do sed '/^999-999/d' "$i" > "$i.$$" && cp "$i.$$" "$i"
rm -f "$i.$$"
1,744
Posted By newbee2015
hi apologies, I didn't explain that well. ...
hi

apologies, I didn't explain that well. We get multiple B* files from the banks and the names of the actual B* file changes. However one of the B* files now references two accounts/groups in...
1,744
Posted By newbee2015
Script to remove lines within file
AIX.

we have multiple files eg B1234567 B1235468 etc. (numbers change daily, only constant is the B prefix)

trying to use using sed '/numberrange and length varies /d ' to remove a...
Showing results 1 to 3 of 3

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