This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| reqlist() { | |
| { | |
| echo "$1" | |
| rpm -q -l --provides "$1" | |
| } | xargs rpm -q --whatrequires | grep -v '^no package requires' | |
| } | |
| reqlist "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Cockpit Visibility Testing</title> | |
| <script src="../base1/cockpit.js"></script> | |
| <script src="test.js"></script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + make -f main.mk -s | |
| main.mk:3: Using make 3.81 | |
| main.mk:7: lst is a:simple | |
| main.mk:11: lst is a b:simple | |
| sub.mk:1: MAKEFLAGS:s | |
| sub.mk:2: MAKEOVERRIDES: | |
| sub.mk:3: -*-command-variables-*-: | |
| sub.mk:7: lst is a b $(tmp):recursive | |
| sub.mk:11: lst is a b $(tmp) $(tmp):recursive | |
| + make -f main.mk -s lst=foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| p=$1 | |
| alt=$2 | |
| skip78= | |
| stripslashes() { | |
| i=$1 | |
| while [ "$i" != "$o" ]; do | |
| o=$i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ver.%: Makefile | |
| touch ver.h | |
| sleep 1 | |
| touch ver.cpp | |
| .PHONY: clean all | |
| all: ver.h ver.cpp | |
| clean: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CC=gcc | |
| l.a : l.a(a.o) | |
| ranlib l.a | |
| echo done | |
| l.a(a.o) : a.c | |
| clean:: | |
| rm -f l.a a.o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ set -x | |
| + set -x | |
| $ k=foo | |
| + k=foo | |
| $ v='bar baz' | |
| + v='bar baz' | |
| $ export foo=$v | |
| + export 'foo=bar baz' | |
| + foo='bar baz' | |
| $ echo $foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys, os, rpm | |
| def readRpmHeader(ts, filename): | |
| """ Read an rpm header. """ | |
| fd = os.open(filename, os.O_RDONLY) | |
| h = None | |
| try: | |
| h = ts.hdrFromFdno(fd) | |
| finally: | |
| os.close(fd) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SR_PREFIX ?= SR | |
| # Manual automake silent rule stuff | |
| $(SR_PREFIX)_DEFAULT_VERBOSITY = 0 | |
| $(SR_PREFIX)_SILENT_VERBOSITY = -1 | |
| V ?= $($(SR_PREFIX)_DEFAULT_VERBOSITY) | |
| SILENT := $(and $(filter $($(SR_PREFIX)_SILENT_VERBOSITY),$(V)),silent) | |
| DEFAULT := $(and $(filter $($(SR_PREFIX)_DEFAULT_VERBOSITY),$(V)),default) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BEGIN { | |
| RS="\n?~\n" | |
| FS="\n" | |
| } | |
| # Special case the diff header/chunk header lines. | |
| /^diff --git/ { | |
| next | |
| } |
NewerOlder