Search Results

Search: Posts Made By: Gwailo88
5,504
Posted By Gwailo88
One Solution
Think I've found my fix unless someone has a more elegant solution...

# Set Split Size 1 Byte Less than Total
((SPLITSIZE=`wc -m $SRCFILE | awk '{print $1}'` - 1))
# Split File
split -b...
5,504
Posted By Gwailo88
Truncate last <n> characters from a file
I am trying to concatenate 2 files, but before concatenation, I would like to strip off the final character from the first file.

The final character is a form feed (ascii 012 / hex 0C) and there...
Showing results 1 to 2 of 2

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