|
|
1.1 ! root 1: .TH YESTERDAY 1 ! 2: .SH NAME ! 3: yesterday \- print file names from the dump ! 4: .SH SYNOPSIS ! 5: .B yesterday ! 6: [ ! 7: .B -c ! 8: ] [ ! 9: .I \-date ! 10: ] ! 11: .I files ... ! 12: .SH DESCRIPTION ! 13: .I Yesterday ! 14: prints the names of the ! 15: .I files ! 16: from the most recent dump. ! 17: Since dumps are done early in the morning, ! 18: yesterday's files are really in today's dump. ! 19: For example, if today is March 17, 1992, ! 20: .IP ! 21: .EX ! 22: yesterday /adm/users ! 23: .EE ! 24: .PP ! 25: prints ! 26: .IP ! 27: .EX ! 28: /n/dump/1992/0317/adm/users ! 29: .EE ! 30: .PP ! 31: In fact, the implementation is to select the most recent dump in ! 32: the current year, so the dump selected may not be from today. ! 33: .PP ! 34: With option ! 35: .BR -c , ! 36: .I yesterday ! 37: copies the dump file to the current directory. ! 38: .PP ! 39: The ! 40: .I date ! 41: option selects other day's dumps, with a format of ! 42: 2, 4, 6, or 8 digits of the form ! 43: .IR dd , ! 44: .IR mmdd , ! 45: .IR yymmdd , ! 46: or ! 47: .IR yyyymmdd . ! 48: .PP ! 49: .I Yesterday ! 50: does not guarantee that the string it prints represents an existing file. ! 51: .SH EXAMPLES ! 52: .PP ! 53: Back up to yesterday's MIPS binary of ! 54: .BR vc : ! 55: .IP ! 56: .EX ! 57: cd /mips/bin ! 58: yesterday -c vc ! 59: .EE ! 60: .PP ! 61: Temporarily back up to March 1's MIPS C library to see if a program ! 62: runs correctly when loaded with it: ! 63: .IP ! 64: .EX ! 65: bind `{yesterday -0301 /mips/lib/libc.a} /mips/lib/libc.a ! 66: rm v.out ! 67: mk ! 68: v.out ! 69: .EE ! 70: .SH FILES ! 71: .B /n/dump ! 72: .SH SOURCE ! 73: .B /rc/bin/yesterday ! 74: .SH SEE ALSO ! 75: .IR fs (4) ! 76: .SH BUGS ! 77: It's hard to use this command without singing.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.