Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92562652
remove-potcdate.sin
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 21, 12:19
Size
432 B
Mime Type
text/plain
Expires
Sat, Nov 23, 12:19 (1 d, 15 h)
Engine
blob
Format
Raw Data
Handle
18297291
Attached To
R3600 invenio-infoscience
remove-potcdate.sin
View Options
# Sed script that remove the POT-Creation-Date line in the header entry
# from a POT file.
#
# The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{
x
# Test if the hold space is empty.
s/P/P/
ta
# Yes it was empty. First occurrence. Remove the line.
g
d
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}
Event Timeline
Log In to Comment