Hi,
How would I get rid of lines having something else than numbers (such as tabs,white space, special characters, empty line, letters).
So I have big file with numers as follows:
12345678901
23456789012
32343678901
42345638901
52345678901
and I sometimes the file might contain some... (2 Replies)
Hi all,
I have a bunch of files that are named like 12543, 467249877, etc all over some directories.These files are named only with numbers, they dont have any letters or special characters in their file names. Could you please help me out and give me some command/script to remove only those... (6 Replies)
Hi all,
Can I edit this script:
find . -type f | while read i;do && mv "$i" "${i//abc/}" ;done
so that it will not only take out abc from the filename but also take out any numbers that might be in the filename as well.
An example would be,
Input:
filename abc 2009.mov
Output:... (7 Replies)
Hi,
I am trying to cleanup 7 or 10 digits numeric from the file. So for example :
Input :
3M Corporation
3M Inc. 888-356-8765
3M Inc. 356-8765
3M Inc. 3568765
3M Inc. 356-8765
3M 8883568765 Inc.
Output :
3M Corporation
3M Inc. - -
3M Inc. -
3M Inc.
3M Inc. - (8 Replies)
lsps -s | awk '{print $1}'|tail -1
71680 MB
lsps -s | awk '{print $2}'|tail -1
2%
vmstat |grep lcpu |awk '{print $3}'
lcpu=8
I need to removt the MB % lcpu= from the outputs so they can show as
71680
2
8
respectively.
Please advise.
Thank you so much, (8 Replies)
I have a file that has some text that looks like this
Some Text
1. More text
2. Different text
Final Text
I would like the remove the lines of text that start with the numbers.
Some Text
Final Text
I have tried to use cat file.txt | grep -Ev 1. >... (9 Replies)
Hello All,
I was wondering if someone might know how to do this. I have a word list that is format like the example below. I need to take away the :number after that... is there some kind of command I could use to remove them?
123456:5562
password:1507
123456789:989
qwerty:877... (7 Replies)
Hi,
I have numerous files which have data in the following format
A|B|123.|Mr.|45.66|33|zz
L|16.|33.45|AC.|45.
I want to remove decimal point only if it is last character in a number.
O/p should be
A|B|123|Mr.|45.66|33|zz
L|16|33.45|AC.|45
I tried this
sed -e 's/.|/|/g'
Problem... (6 Replies)
Hi,
I am trying to remove trailing zeros from numbers in a csv file.
CSV Input : 0.5000,abc,2.00,2.400,285.850,285a.850,205.180800,mno000,a0b0,2.860
Expected Output :
.5,abc,2,2.4,285.85,285a.850,205.1808,mno000,a0b0,2.86
Can you please help.
Thanks. (11 Replies)
Discussion started by: manubatham20
11 Replies
LEARN ABOUT DEBIAN
qrencode
QRENCODE(1) General Commands Manual QRENCODE(1)NAME
qrencode - Encode input data in a QR Code and save as a PNG or EPS image.
SYNOPSIS
qrencode [OPTION]... [STRING]
DESCRIPTION
Libqrencode is a library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a
mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness.
Qrencode is a utility software using libqrencode to encode string data in a QR Code and save as a PNG or EPS image.
OPTIONS -h, --help
display help message.
-o FILENAME, --output=FILENAME
write image to FILENAME. If '-' is specified, the result will be output to standard output. If -S is given, structured symbols are
written to FILENAME-01.png, FILENAME-02.png, ... (suffix is removed from FILENAME, if specified)
-s NUMBER, --size=NUMBER
specify the size of dot (pixel). (default=3)
-l {LMQH}, --level={LMQH}
specify error collectin level from L (lowest) to H (highest). (default=L)
-v NUMBER, --symversion=NUMBER
specify the version of the symbol. (default=auto)
-m NUMBER, --margin=NUMBER
specify the width of margin. (default=4)
-d NUMBER, --dpi=NUMBER
specify the DPI of the generated PNG. (default=72)
-t {PNG,EPS,ANSI,ANSI256}, --type={PNG,EPS,ANSI,ANSI256}
specify the type of the generated image. (default=PNG)
-S, --structured
make structured symbols. Version must be specified.
-k, --kanji
assume that the input text contains kanji (shift-jis).
-c, --casesensitive
encode lower-case alphabet characters in 8-bit mode. (default)
-i, --ignorecase
ignore case distinctions and use only upper-case characters.
-8, --8bit
encode entire data in 8-bit mode. -k, -c and -i will be ignored.
-M, --micro
encode in a Micro QR Code. (experimental)
-V, --version
display the version number and copyrights of the qrencode.
[STRING]
input data. If it is not specified, data will be taken from standard input.
EXAMPLES
qrencode -l L -v 1 -o output.png 'Hello, world!'
encode into a symbol version 1, level L.
qrencode -iSv 1 --output=output.png
read standard input and encode it into a structured-appended symbols in case-insensitive mode.
AUTHOR
Written by Kentaro Fukuchi.
RESOURCES
Main Web Site: http://fukuchi.org/works/qrencode/
Source code repository: https://github.com/fukuchi/libqrencode/
COPYRIGHT
Copyright (C) 2006-2012 Kentaro Fukuchi.
qrencode 3.3.0 Feb. 29, 2012 QRENCODE(1)