Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

7 votes
4 answers
1746 views
How to undo in spreadsheet calculator sc?
spreadsheet calculator **sc** is a very old console-based program. It does what the name says. I cannot find how to undo an operation in its man page. I currently use it together with RCS, *ie*. manually create versions in RCS before big changes, and rotate back to a version if needed. I am wonderin...
spreadsheet calculator **sc** is a very old console-based program. It does what the name says. I cannot find how to undo an operation in its man page. I currently use it together with RCS, *ie*. manually create versions in RCS before big changes, and rotate back to a version if needed. I am wondering if there is a better way to do it. Thanks.
Jing (339 rep)
Nov 7, 2012, 07:22 AM • Last activity: Apr 11, 2025, 05:25 PM
2 votes
2 answers
1278 views
Insert a date in a cell in sc
In sc (spreadsheet calculator), I formatted a column with ` ` but was unable to insert a valid date in its cells. If I digit ` ` (or other similar notations, with or without the initial `^D`, I only get a string with no possibility to calculate date-differences. Could somebody give me any hints?
In sc (spreadsheet calculator), I formatted a column with ` but was unable to insert a valid date in its cells. If I digit (or other similar notations, with or without the initial ^D`, I only get a string with no possibility to calculate date-differences. Could somebody give me any hints?
Ennio Sr (21 rep)
Sep 24, 2016, 09:08 PM • Last activity: Apr 6, 2022, 10:26 AM
5 votes
2 answers
14097 views
Sorting a CSV file, but not it's header
I need to sort a CSV file, but the the header row (1st row) keeps getting sorted. This is what I'm using: cat data1.csv | sort -t"|" -k 1 -o data1.csv Here's a sample line: Name|Email|Country|Company|Phone Brent Trujillo|tempus@mauris.org|Burkina Faso|Donec LLC|(612) 943-0167
I need to sort a CSV file, but the the header row (1st row) keeps getting sorted. This is what I'm using: cat data1.csv | sort -t"|" -k 1 -o data1.csv Here's a sample line: Name|Email|Country|Company|Phone Brent Trujillo|tempus@mauris.org|Burkina Faso|Donec LLC|(612) 943-0167
Frank Wilson (89 rep)
Nov 29, 2014, 09:05 PM • Last activity: Jun 25, 2017, 01:03 AM
Showing page 1 of 3 total questions