Guest User

Untitled

a guest
May 19th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.21 KB | None | 0 0
  1. $ shellcheck myscript
  2.  
  3. Line 3:
  4. find . -maxdepth 3 -iname '*.[Mm][Pp]3' -exec sh -c 'curfname="{}";\
  5.                                                    ^-- SC2156: Injecting filenames is fragile and insecure. Use parameters.
  6. >>                                                                 ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
  7.  
  8. Line 4:
  9.      bitrate=`mp3info -r a -p "%r\n" "$curfname"`;\
  10.                                                   ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
  11.  
  12. Line 5:
  13.      if (( $(echo "$bitrate < 320" |bc -l) ));\
  14.                                               ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
  15.  
  16. Line 6:
  17.      then \
  18.           ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
  19.  
  20. Line 7:
  21.         echo $curfname has $bitrate bitrate; \
  22.                                              ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
  23.  
  24. $
Advertisement
Add Comment
Please, Sign In to add comment