[CDBUG-talk] FTP user for Wordpress Management
freebsd at fongaboo.com
freebsd at fongaboo.com
Mon Aug 22 02:57:31 EDT 2016
Nevermind! The files I was editing had extra carriage returns on the end
of them. When I ran it twice, it did what I intended.
On Sun, 21 Aug 2016, freebsd at fongaboo.com wrote:
>
> Trying to do something simple... Delete the last line of every text file in a
> folder full of text files.
>
> I know that POSIX sed vs. GNU sed can often mean that sed tutorials I find
> don't often work in FreeBSD. But this time I searched for BSD-specific sites
> and for some reason it still doesn't work:
>
> http://www.freebsdonline.com/content/view/673/524/
>
> This says it's as simple as: sed '$d' textfile
>
> But it seems to do nothing. Anyone have any insight for me?
>
>
> TIA
>
> FONG
>
> _______________________________________________
> CDBUG-talk mailing list
> CDBUG-talk at lists.nycbug.org
> http://lists.nycbug.org/mailman/listinfo/cdbug-talk
>
More information about the CDBUG-talk
mailing list