Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
qcomlt
demos
linux
fe3ca22e4c9b3863187c4d30f6a493e74c3c0a87
linux
scripts
file-size.sh
Find file
Normal view
History
Permalink
file-size.sh
86 B
Newer
Older
kbuild: Use ls(1) instead of stat(1) to obtain file size
Michael Forney
committed
6 years ago
1
2
3
4
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
set
--
$(
ls
-dn
"
$1
"
)
printf
'%s\n'
"
$5
"