Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
OpenBoard
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • lifo
  • Nicolas Ollinger
  • OpenBoard
  • Repository

Switch branch/tag
  • openboard
  • thirdparty
  • openssl
  • openssl-1.0.0d
  • util
  • tab_num.pl
Find file
BlameHistoryPermalink
  • Claudio Valerio's avatar
    Added source code for used libraries · a9a8fbbb
    Claudio Valerio authored 14 years ago
    a9a8fbbb
tab_num.pl 162 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/local/bin/perl

$num=1;
$width=40;

while (<>)
	{
	chop;

	$i=length($_);

	$n=$width-$i;
	$i=int(($n+7)/8);
	print $_.("\t" x $i).$num."\n";
	$num++;
	}

Replace tab_num.pl

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.