Sponsored Content
Full Discussion: Naive coding...
The Lounge What is on Your Mind? Naive coding... Post 302991940 by MadeInGermany on Sunday 19th of February 2017 04:30:55 AM
Old 02-19-2017
I use "date with eval" instead of "unsafe" here docs (that denote ugly tmp files).
Code:
eval `date '+YYYY=%Y MM=%m DD=%d'`
label="$MM/$DD/$YYYY"
filename="report_${YYYY}_${MM}_${DD}.txt"

--
You code like you eat.
Fast food makes you fat, and you risk a heart attack.
This User Gave Thanks to MadeInGermany For This Post:
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

can I use this coding

I apologise because I had pasted this question in the newbies forum first (because i am a bit of a newbie) but thought it might be better suited in here if i have to sepearate parameters can I use this syntax especially the or part (||) and is this correct if (6 Replies)
Discussion started by: w33man
6 Replies

2. Shell Programming and Scripting

Coding on my Mac

I would like to start coding on my mac, but I'm getting an error when I attempt to execute my script -bash : testscript: command not found I have verified that the #! line points to the correct directory. If you have some insight it would be greatly appreciated! - D (1 Reply)
Discussion started by: DKNUCKLES
1 Replies

3. UNIX for Dummies Questions & Answers

pro*c coding

Hi All, I am new to pro*C. I have a select statement as select a.ename,a.sal,a.empno from emp where &n=(select count(distinct(b.sal)) from emp b where a.sal<=b.sal for this query I have to write a pro*C program. So can you please send me the complete code. Then I will foloow the same... (1 Reply)
Discussion started by: user71408
1 Replies

4. Homework & Coursework Questions

Naive Bayes

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I have to write a program in Unix to do the following.Given a phrase like george hates john, by... (0 Replies)
Discussion started by: gizmo87
0 Replies

5. Shell Programming and Scripting

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (1 Reply)
Discussion started by: crazydude80
1 Replies

6. Windows & DOS: Issues & Discussions

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (2 Replies)
Discussion started by: crazydude80
2 Replies

7. Shell Programming and Scripting

HTTP coding

My company has an in house instant messaging system (like WhatsApp) where users can communicate with each other. I currently have code to email me certain items from my Sparc machine running SunOS 5.10. I want what I am emailing myself to now instant message me. The team that created the messenger... (5 Replies)
Discussion started by: shorty
5 Replies
ESPCTAG(1)							   User Manuals 							ESPCTAG(1)

NAME
espctag - Edit tags of SPC files (ID666) SYNOPSIS
espctag [OPTION]... IFILE... DESCRIPTION
By default, espctag prints ID666 tags extracted from SPC files (SNES audio files) on the standard output. When called with the --set switch, flags accept an argument and the corresponding fields are modified. Files are processed in the order specified. OPTIONS
-s, --set Set tags -g, --get Print tags. This is the default behaviour -f, --file Print file names -n, --field Don't print field names -t, --type Print tags format -a, --all Select all fields. Can not be used with --set -S[SONG_TITLE], --song[=SONG_TITLE] Print/Set song title -G[GAME_TITLE], --game[=GAME_TITLE] Print/Set game title -N[DUMPER_NAME], --dumper[=DUMPER_NAME] Print/Set dumper name -C[COMMENTS], --comments[=COMMENTS] Print/Set comments -D[MM/DD/YYYY], --date[=MM/DD/YYYY] Print/Set dump date -L[LENGTH], --length[=LENGTH] Print/Set length of song (without fade length) -F[LENGTH], --fade[=LENGTH] Print/Set fadeout length -A[ARTIST], --artist[=ARTIST] Print/Set artist name -M[CHANNELS], --channels[=CHANNELS] Print/Set default channels states (0 = channel is enable / 1 = channel is disable) -E[EMULATOR], --emulator[=EMULATOR] Print/Set emulator used to make the dump BUGS
Please, submit bug reports on the sourceforge project page, at the following address : https://sourceforge.net/tracker/?group_id=563796&atid=2286949 AUTHOR
Jerome SONRIER <jsid@emor3j.fr.eu.org> Linux SEPTEMBER 2011 ESPCTAG(1)
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy