Search Results

Search: Posts Made By: Ultrix
7,470
Posted By Ultrix
Okay, I'll change that then. EDIT: I fixed...
Okay, I'll change that then.

EDIT: I fixed the script. It now looks like this:

#!/bin/bash
# deletes lines of a certain range length from a file
# Writing the result to the file is optional....
7,470
Posted By Ultrix
BTW, what is the practical value of what you're...
BTW, what is the practical value of what you're trying to do? I really want to know, because I just wrote a shell script that does what you described, only way better, and I'm wondering how I can...
7,470
Posted By Ultrix
Try: sed "/^.\{0,31\}$/d" file ...
Try:


sed "/^.\{0,31\}$/d" file


EDIT: Just noticed that the above poster beat me to that answer. Oh, well, it was a good exercise.
Showing results 1 to 3 of 3

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